gcc-desc.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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
  27. the contents of header files into the source file. It's a good idea to
  28. not do this manually to save a lot of time. Someone just inserts a line
  29. like #include &lt;filename&gt;. The preprocessor inserts the
  30. contents of that file into the source file. That's one of the things a
  31. preprocessor does.</para></sect4>
  32. <sect4><title>gccbug</title>
  33. <para>gccbug is a shell script which is used to simplify the creation of
  34. bug reports.</para></sect4>
  35. <sect4><title>gcov</title>
  36. <para>gcov analyzes programs to help create more efficient, faster running
  37. code through optimization.</para></sect4>
  38. <sect4><title>tradcpp0</title>
  39. <para>No description is currently available.</para></sect4>
  40. </sect3>
  41. <sect3><title>Library Files</title>
  42. <para>libgcc.a, libgcc_eh.a, libgcc_s.so, libiberty.a, libstdc++.[a,so],
  43. libsupc++.a</para></sect3>
  44. <sect3><title>Descriptions</title>
  45. <sect4><title>libgcc, libgcc_eh, libgcc_s</title>
  46. <para>Run-time support files for gcc.</para></sect4>
  47. <sect4><title>libiberty</title>
  48. <para>libiberty is a collection of subroutines used by various GNU
  49. programs including getopt, obstack, strerror, strtol and strtoul.</para></sect4>
  50. <sect4><title>libstdc++</title>
  51. <para>libstdc++ is the C++ library. It is used by C++ programs and contains
  52. functions that are frequently used in C++ programs. This way the
  53. programmer doesn't have to write certain functions (such as writing a
  54. string of text to the screen) from scratch every time he creates a
  55. program.</para></sect4>
  56. <sect4><title>libsupc++</title>
  57. <para>libsup++ provides support for the c++ programming language. Among other
  58. things, libsup++ contains routines for exception handling.</para></sect4>
  59. </sect3>
  60. </sect2>