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