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 and tradcpp0</para></sect3>
|
---|
8 |
|
---|
9 | <sect3><title>Descriptions</title>
|
---|
10 |
|
---|
11 | <sect4><title>cc, cc1, cc1plus, gcc</title>
|
---|
12 | <para>These are the C compiler. A compiler translates source code in
|
---|
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>
|
---|
18 | <para>These are the C++ compiler, the equivalent of cc and
|
---|
19 | gcc etc.</para></sect4>
|
---|
20 |
|
---|
21 | <sect4><title>c++filt</title>
|
---|
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
|
---|
24 | parameters of different types). All C++ function names are encoded into
|
---|
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>
|
---|
29 |
|
---|
30 | <sect4><title>collect2</title>
|
---|
31 | <para>collect2 assists with the compilation of constructors.</para></sect4>
|
---|
32 |
|
---|
33 | <sect4><title>cpp, cpp0</title>
|
---|
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>
|
---|
38 |
|
---|
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 |
|
---|
43 | <sect4><title>gcov</title>
|
---|
44 | <para>gcov analyzes programs to help create more efficient, faster running
|
---|
45 | code through optimization.</para></sect4>
|
---|
46 |
|
---|
47 | <sect4><title>tradcpp0</title>
|
---|
48 | <para>No description is currently available.</para></sect4>
|
---|
49 |
|
---|
50 | </sect3>
|
---|
51 |
|
---|
52 | <sect3><title>Library Files</title>
|
---|
53 | <para>libgcc.a, libgcc_eh.a, libgcc_s.so, libiberty.a, libstdc++.[a,so],
|
---|
54 | libsupc++.a</para></sect3>
|
---|
55 |
|
---|
56 | <sect3><title>Descriptions</title>
|
---|
57 |
|
---|
58 | <sect4><title>libgcc, libgcc_eh, libgcc_s</title>
|
---|
59 | <para>Run-time support files for gcc.</para></sect4>
|
---|
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>
|
---|
66 | <para>libstdc++ is the C++ library. It is used by C++ programs and contains
|
---|
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
|
---|
70 | program.</para></sect4>
|
---|
71 |
|
---|
72 | <sect4><title>libsupc++</title>
|
---|
73 | <para>libsupc++ provides support for the c++ programming language. Among other
|
---|
74 | things, libsupc++ contains routines for exception handling.</para></sect4>
|
---|
75 |
|
---|
76 | </sect3>
|
---|
77 |
|
---|
78 | </sect2>
|
---|
79 |
|
---|