[e69a59f] | 1 | <sect2><title>Contents of GCC-&gcc-contversion;</title>
|
---|
[6370fa6] | 2 |
|
---|
[bdc08c1] | 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>
|
---|
[6370fa6] | 6 |
|
---|
[bdc08c1] | 7 | <sect3><title>Descriptions</title>
|
---|
| 8 |
|
---|
| 9 | <sect4><title>cc, cc1, cc1plus, gcc</title>
|
---|
| 10 | <para>These are the C compiler. A compiler translates source code in
|
---|
| 11 | text format to a format that a computer understands. After a source code
|
---|
| 12 | file is compiled into an object file, a linker will create an executable
|
---|
| 13 | file from one or more of these compiler generated object files.</para></sect4>
|
---|
| 14 |
|
---|
| 15 | <sect4><title>c++, cc1plus, g++</title>
|
---|
| 16 | <para>These are the C++ compiler; the equivalent of cc and
|
---|
| 17 | gcc etc.</para></sect4>
|
---|
[6370fa6] | 18 |
|
---|
[bdc08c1] | 19 | <sect4><title>c++filt</title>
|
---|
| 20 | <para>c++filt is used to demangle C++ symbols.</para></sect4>
|
---|
[6370fa6] | 21 |
|
---|
[bdc08c1] | 22 | <sect4><title>collect2</title>
|
---|
[afeca3f] | 23 | <para>collect2 assists with the compilation of constructors.</para></sect4>
|
---|
[6370fa6] | 24 |
|
---|
[bdc08c1] | 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
|
---|
[07cbb0d] | 29 | like #include <filename>. The preprocessor inserts the
|
---|
[6370fa6] | 30 | contents of that file into the source file. That's one of the things a
|
---|
[bdc08c1] | 31 | preprocessor does.</para></sect4>
|
---|
| 32 |
|
---|
| 33 | <sect4><title>gcov</title>
|
---|
[afeca3f] | 34 | <para>gcov analyzes programs to help create more efficient, faster running
|
---|
| 35 | code through optimization.</para></sect4>
|
---|
[bdc08c1] | 36 |
|
---|
| 37 | <sect4><title>protoize</title>
|
---|
[cf24ff1] | 38 | <para>protoize converts old-style pre-ANSI
|
---|
| 39 | functions or definitions to new-style ANSI C prototypes (the default file
|
---|
[2729cd6] | 40 | for looking known ones up is
|
---|
[cf24ff1] | 41 | <filename>/usr/lib/gcc-lib/<arch>/<version>/SYSCALLS.c.X</filename>).</para></sect4>
|
---|
[bdc08c1] | 42 |
|
---|
| 43 | <sect4><title>unprotoize</title>
|
---|
[cf24ff1] | 44 | <para>unprotoize converts prototypes
|
---|
| 45 | back to the original old-style pre-ANSI functions, doing a correct
|
---|
| 46 | job only when they were converted with protoize.</para></sect4>
|
---|
[6370fa6] | 47 |
|
---|
[bdc08c1] | 48 | </sect3>
|
---|
| 49 |
|
---|
| 50 | <sect3><title>Library Files</title>
|
---|
| 51 | <para>libgcc.a, libiberty.a, libstdc++.[a,so]</para>
|
---|
| 52 |
|
---|
| 53 | <sect4><title>libgcc</title>
|
---|
[afeca3f] | 54 | <para>libgcc.a is a run-time support file for gcc. Most of the time, on most
|
---|
[bdc08c1] | 55 | machines, libgcc.a is not actually necessary.</para></sect4>
|
---|
| 56 |
|
---|
| 57 | <sect4><title>libiberty</title>
|
---|
| 58 | <para>libiberty is a collection of subroutines used by various GNU
|
---|
| 59 | programs including getopt, obstack, strerror, strtol and strtoul.</para></sect4>
|
---|
| 60 |
|
---|
| 61 | <sect4><title>libstdc++</title>
|
---|
| 62 | <para>libstdc++ is the C++ library. It is used by C++ programs and contains
|
---|
[6370fa6] | 63 | functions that are frequently used in C++ programs. This way the
|
---|
| 64 | programmer doesn't have to write certain functions (such as writing a
|
---|
| 65 | string of text to the screen) from scratch every time he creates a
|
---|
[bdc08c1] | 66 | program.</para></sect4>
|
---|
| 67 |
|
---|
| 68 | </sect3>
|
---|
[6370fa6] | 69 |
|
---|
| 70 | </sect2>
|
---|
| 71 |
|
---|