gcc-desc.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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, gccbug, gcov and tradcpp0</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>The C++ language provides function overloading, which means that it is
  17. possible to write many functions with the same name (providing each takes
  18. parameters of different types). All C++ function names are encoded into
  19. a low-level assembly label (this process is known as mangling). The c++filt
  20. program does the inverse mapping: it decodes (demangles) low-level names
  21. into user-level names so that the linker can keep these overloaded functions
  22. from clashing.</para></sect4>
  23. <sect4><title>collect2</title>
  24. <para>collect2 assists with the compilation of constructors.</para></sect4>
  25. <sect4><title>cpp, cpp0</title>
  26. <para>cpp pre-processes a source file, such as including the contents of
  27. header files into the source file. Simply add a line, such as #include
  28. &lt;filename&gt;, to your source file. The preprocessor will insert the
  29. contents of the included file into the source file.</para></sect4>
  30. <sect4><title>gccbug</title>
  31. <para>gccbug is a shell script which is used to simplify the creation of
  32. bug reports.</para></sect4>
  33. <sect4><title>gcov</title>
  34. <para>gcov analyzes programs to help create more efficient, faster running
  35. code through optimization.</para></sect4>
  36. <sect4><title>tradcpp0</title>
  37. <para>No description is currently available.</para></sect4>
  38. </sect3>
  39. <sect3><title>Library Files</title>
  40. <para>libgcc.a, libgcc_eh.a, libgcc_s.so, libiberty.a, libstdc++.[a,so],
  41. libsupc++.a</para></sect3>
  42. <sect3><title>Descriptions</title>
  43. <sect4><title>libgcc, libgcc_eh, libgcc_s</title>
  44. <para>Run-time support files for gcc.</para></sect4>
  45. <sect4><title>libiberty</title>
  46. <para>libiberty is a collection of subroutines used by various GNU
  47. programs including getopt, obstack, strerror, strtol and strtoul.</para></sect4>
  48. <sect4><title>libstdc++</title>
  49. <para>libstdc++ is the C++ library. It is used by C++ programs and contains
  50. functions that are frequently used in C++ programs. This way the
  51. programmer doesn't have to write certain functions (such as writing a
  52. string of text to the screen) from scratch every time he creates a
  53. program.</para></sect4>
  54. <sect4><title>libsupc++</title>
  55. <para>libsupc++ provides support for the c++ programming language. Among other
  56. things, libsupc++ contains routines for exception handling.</para></sect4>
  57. </sect3>
  58. </sect2>