gcc-desc.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <sect2><title>Contents of GCC-&gcc-contversion;</title>
  2. <sect3><title>Program Files</title>
  3. <para>c++, c++filt, cc (link to gcc), cc1, cc1plus, collect2, cpp, cpp0,
  4. g++, gcc, gcov, protoize and unprotoize</para></sect3>
  5. <sect3><title>Descriptions</title>
  6. <sect4><title>cc, cc1, cc1plus, gcc</title>
  7. <para>These are the C compiler. A compiler translates source code in
  8. text format to a format that a computer understands. After a source code
  9. file is compiled into an object file, a linker will create an executable
  10. file from one or more of these compiler generated object files.</para></sect4>
  11. <sect4><title>c++, cc1plus, g++</title>
  12. <para>These are the C++ compiler; the equivalent of cc and
  13. gcc etc.</para></sect4>
  14. <sect4><title>c++filt</title>
  15. <para>c++filt is used to demangle C++ symbols.</para></sect4>
  16. <sect4><title>collect2</title>
  17. <para>collect2 assists with the compilation of constructors.</para></sect4>
  18. <sect4><title>cpp, cpp0</title>
  19. <para>cpp pre-processes a source file, such as including
  20. the contents of header files into the source file. It's a good idea to
  21. not do this manually to save a lot of time. Someone just inserts a line
  22. like #include &lt;filename&gt;. The preprocessor inserts the
  23. contents of that file into the source file. That's one of the things a
  24. preprocessor does.</para></sect4>
  25. <sect4><title>gcov</title>
  26. <para>gcov analyzes programs to help create more efficient, faster running
  27. code through optimization.</para></sect4>
  28. <sect4><title>protoize</title>
  29. <para>protoize converts old-style pre-ANSI
  30. functions or definitions to new-style ANSI C prototypes (the default file
  31. for looking known ones up is
  32. <filename>/usr/lib/gcc-lib/&lt;arch&gt;/&lt;version&gt;/SYSCALLS.c.X</filename>).</para></sect4>
  33. <sect4><title>unprotoize</title>
  34. <para>unprotoize converts prototypes
  35. back to the original old-style pre-ANSI functions, doing a correct
  36. job only when they were converted with protoize.</para></sect4>
  37. </sect3>
  38. <sect3><title>Library Files</title>
  39. <para>libgcc.a, libiberty.a, libstdc++.[a,so]</para>
  40. <sect4><title>libgcc</title>
  41. <para>libgcc.a is a run-time support file for gcc. Most of the time, on most
  42. machines, libgcc.a is not actually necessary.</para></sect4>
  43. <sect4><title>libiberty</title>
  44. <para>libiberty is a collection of subroutines used by various GNU
  45. programs including getopt, obstack, strerror, strtol and strtoul.</para></sect4>
  46. <sect4><title>libstdc++</title>
  47. <para>libstdc++ is the C++ library. It is used by C++ programs and contains
  48. functions that are frequently used in C++ programs. This way the
  49. programmer doesn't have to write certain functions (such as writing a
  50. string of text to the screen) from scratch every time he creates a
  51. program.</para></sect4>
  52. </sect3>
  53. </sect2>