[8fcc2c0] | 1 | <sect2><title>Contents of GCC</title>
|
---|
| 2 |
|
---|
| 3 | <para>Last checked against version &gcc-contversion;.</para>
|
---|
[6370fa6] | 4 |
|
---|
[bdc08c1] | 5 | <sect3><title>Program Files</title>
|
---|
| 6 | <para>c++, c++filt, cc (link to gcc), cc1, cc1plus, collect2, cpp, cpp0,
|
---|
[53bd4fe] | 7 | g++, gcc, gccbug, gcov and tradcpp0</para></sect3>
|
---|
[6370fa6] | 8 |
|
---|
[bdc08c1] | 9 | <sect3><title>Descriptions</title>
|
---|
| 10 |
|
---|
| 11 | <sect4><title>cc, cc1, cc1plus, gcc</title>
|
---|
[2c094d6] | 12 | <para>These are the C compiler. A compiler translates source code in
|
---|
[bdc08c1] | 13 | text format to a format that a computer understands. After a source code
|
---|
| 14 | file is compiled into an object file, a linker will create an executable
|
---|
| 15 | file from one or more of these compiler generated object files.</para></sect4>
|
---|
| 16 |
|
---|
| 17 | <sect4><title>c++, cc1plus, g++</title>
|
---|
[695ae0bc] | 18 | <para>These are the C++ compiler, the equivalent of cc and
|
---|
[bdc08c1] | 19 | gcc etc.</para></sect4>
|
---|
[6370fa6] | 20 |
|
---|
[bdc08c1] | 21 | <sect4><title>c++filt</title>
|
---|
[c68394e] | 22 | <para>The C++ language provides function overloading, which means that it is
|
---|
| 23 | possible to write many functions with the same name (providing each takes
|
---|
[2c094d6] | 24 | parameters of different types). All C++ function names are encoded into
|
---|
[c68394e] | 25 | a low-level assembly label (this process is known as mangling). The c++filt
|
---|
| 26 | program does the inverse mapping: it decodes (demangles) low-level names
|
---|
| 27 | into user-level names so that the linker can keep these overloaded functions
|
---|
| 28 | from clashing.</para></sect4>
|
---|
[6370fa6] | 29 |
|
---|
[bdc08c1] | 30 | <sect4><title>collect2</title>
|
---|
[afeca3f] | 31 | <para>collect2 assists with the compilation of constructors.</para></sect4>
|
---|
[6370fa6] | 32 |
|
---|
[bdc08c1] | 33 | <sect4><title>cpp, cpp0</title>
|
---|
[695ae0bc] | 34 | <para>cpp pre-processes a source file, such as including the contents of
|
---|
| 35 | header files into the source file. Simply add a line, such as #include
|
---|
| 36 | <filename>, to your source file. The preprocessor will insert the
|
---|
| 37 | contents of the included file into the source file.</para></sect4>
|
---|
[bdc08c1] | 38 |
|
---|
[9898c41] | 39 | <sect4><title>gccbug</title>
|
---|
| 40 | <para>gccbug is a shell script which is used to simplify the creation of
|
---|
| 41 | bug reports.</para></sect4>
|
---|
| 42 |
|
---|
[bdc08c1] | 43 | <sect4><title>gcov</title>
|
---|
[afeca3f] | 44 | <para>gcov analyzes programs to help create more efficient, faster running
|
---|
| 45 | code through optimization.</para></sect4>
|
---|
[bdc08c1] | 46 |
|
---|
[9898c41] | 47 | <sect4><title>tradcpp0</title>
|
---|
| 48 | <para>No description is currently available.</para></sect4>
|
---|
[6370fa6] | 49 |
|
---|
[bdc08c1] | 50 | </sect3>
|
---|
| 51 |
|
---|
| 52 | <sect3><title>Library Files</title>
|
---|
[9898c41] | 53 | <para>libgcc.a, libgcc_eh.a, libgcc_s.so, libiberty.a, libstdc++.[a,so],
|
---|
[626a280] | 54 | libsupc++.a</para></sect3>
|
---|
| 55 |
|
---|
| 56 | <sect3><title>Descriptions</title>
|
---|
[bdc08c1] | 57 |
|
---|
[9898c41] | 58 | <sect4><title>libgcc, libgcc_eh, libgcc_s</title>
|
---|
| 59 | <para>Run-time support files for gcc.</para></sect4>
|
---|
[bdc08c1] | 60 |
|
---|
| 61 | <sect4><title>libiberty</title>
|
---|
| 62 | <para>libiberty is a collection of subroutines used by various GNU
|
---|
| 63 | programs including getopt, obstack, strerror, strtol and strtoul.</para></sect4>
|
---|
| 64 |
|
---|
| 65 | <sect4><title>libstdc++</title>
|
---|
[2c094d6] | 66 | <para>libstdc++ is the C++ library. It is used by C++ programs and contains
|
---|
[6370fa6] | 67 | functions that are frequently used in C++ programs. This way the
|
---|
| 68 | programmer doesn't have to write certain functions (such as writing a
|
---|
| 69 | string of text to the screen) from scratch every time he creates a
|
---|
[bdc08c1] | 70 | program.</para></sect4>
|
---|
| 71 |
|
---|
[9898c41] | 72 | <sect4><title>libsupc++</title>
|
---|
[bed61bb] | 73 | <para>libsupc++ provides support for the c++ programming language. Among other
|
---|
| 74 | things, libsupc++ contains routines for exception handling.</para></sect4>
|
---|
[9898c41] | 75 |
|
---|
[bdc08c1] | 76 | </sect3>
|
---|
[6370fa6] | 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|