gcc-desc.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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, i686-pc-linux-gnu-c++, i686-pc-linux-gnu-g++,
  6. i686-pc-linux-gnu-gcc, tradcpp0</para></sect3>
  7. <sect3><title>Descriptions</title>
  8. <sect4><title>cc, cc1, cc1plus, gcc</title>
  9. <para>These are the C compiler. A compiler translates source code in
  10. text format to a format that a computer understands. After a source code
  11. file is compiled into an object file, a linker will create an executable
  12. file from one or more of these compiler generated object files.</para></sect4>
  13. <sect4><title>c++, cc1plus, g++</title>
  14. <para>These are the C++ compiler; the equivalent of cc and
  15. gcc etc.</para></sect4>
  16. <sect4><title>c++filt</title>
  17. <para>The C++ language provides function overloading, which means that it is
  18. possible to write many functions with the same name (providing each takes
  19. parameters of different types). All C++ function names are encoded into
  20. a low-level assembly label (this process is known as mangling). The c++filt
  21. program does the inverse mapping: it decodes (demangles) low-level names
  22. into user-level names so that the linker can keep these overloaded functions
  23. from clashing.</para></sect4>
  24. <sect4><title>collect2</title>
  25. <para>collect2 assists with the compilation of constructors.</para></sect4>
  26. <sect4><title>cpp, cpp0</title>
  27. <para>cpp pre-processes a source file, such as including
  28. the contents of header files into the source file. It's a good idea to
  29. not do this manually to save a lot of time. Someone just inserts a line
  30. like #include &lt;filename&gt;. The preprocessor inserts the
  31. contents of that file into the source file. That's one of the things a
  32. preprocessor does.</para></sect4>
  33. <sect4><title>gccbug</title>
  34. <para>gccbug is a shell script which is used to simplify the creation of
  35. bug reports.</para></sect4>
  36. <sect4><title>gcov</title>
  37. <para>gcov analyzes programs to help create more efficient, faster running
  38. code through optimization.</para></sect4>
  39. <sect4><title>i686-pc-linux-gnu-c++, i686-pc-linux-gnu-g++,
  40. i686-pc-linux-gnu-gcc</title>
  41. <para>No description is currently available.</para></sect4>
  42. <sect4><title>tradcpp0</title>
  43. <para>No description is currently available.</para></sect4>
  44. </sect3>
  45. <sect3><title>Library Files</title>
  46. <para>libgcc.a, libgcc_eh.a, libgcc_s.so, libiberty.a, libstdc++.[a,so],
  47. libsupc++.a</para></sect3>
  48. <sect3><title>Descriptions</title>
  49. <sect4><title>libgcc, libgcc_eh, libgcc_s</title>
  50. <para>Run-time support files for gcc.</para></sect4>
  51. <sect4><title>libiberty</title>
  52. <para>libiberty is a collection of subroutines used by various GNU
  53. programs including getopt, obstack, strerror, strtol and strtoul.</para></sect4>
  54. <sect4><title>libstdc++</title>
  55. <para>libstdc++ is the C++ library. It is used by C++ programs and contains
  56. functions that are frequently used in C++ programs. This way the
  57. programmer doesn't have to write certain functions (such as writing a
  58. string of text to the screen) from scratch every time he creates a
  59. program.</para></sect4>
  60. <sect4><title>libsupc++</title>
  61. <para>libsup++ provides support for the c++ programming language. Among other
  62. things, libsup++ contains routines for exception handling.</para></sect4>
  63. </sect3>
  64. </sect2>