gcc-desc.xml 2.7 KB

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