source: appendixa/gcc-desc.xml@ c68394e

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v4_0 v4_1 v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since c68394e was c68394e, checked in by Timothy Bauscher <timothy@…>, 22 years ago

Updated Binutils package descriptions and GCC c++filt description.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1994 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.3 KB
Line 
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,
7g++, gcc, gccbug, gcov, i686-pc-linux-gnu-c++, i686-pc-linux-gnu-g++,
8i686-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
14text format to a format that a computer understands. After a source code
15file is compiled into an object file, a linker will create an executable
16file 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
20gcc etc.</para></sect4>
21
22<sect4><title>c++filt</title>
23<para>The C++ language provides function overloading, which means that it is
24possible to write many functions with the same name (providing each takes
25parameters of different types). All C++ function names are encoded into
26a low-level assembly label (this process is known as mangling). The c++filt
27program does the inverse mapping: it decodes (demangles) low-level names
28into user-level names so that the linker can keep these overloaded functions
29from 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
36the contents of header files into the source file. It's a good idea to
37not do this manually to save a lot of time. Someone just inserts a line
38like #include &lt;filename&gt;. The preprocessor inserts the
39contents of that file into the source file. That's one of the things a
40preprocessor does.</para></sect4>
41
42<sect4><title>gccbug</title>
43<para>gccbug is a shell script which is used to simplify the creation of
44bug reports.</para></sect4>
45
46<sect4><title>gcov</title>
47<para>gcov analyzes programs to help create more efficient, faster running
48code through optimization.</para></sect4>
49
50<sect4><title>i686-pc-linux-gnu-c++, i686-pc-linux-gnu-g++,
51i686-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],
61libsupc++.a</para>
62
63<sect4><title>libgcc, libgcc_eh, libgcc_s</title>
64<para>Run-time support files for gcc.</para></sect4>
65
66<sect4><title>libiberty</title>
67<para>libiberty is a collection of subroutines used by various GNU
68programs including getopt, obstack, strerror, strtol and strtoul.</para></sect4>
69
70<sect4><title>libstdc++</title>
71<para>libstdc++ is the C++ library. It is used by C++ programs and contains
72functions that are frequently used in C++ programs. This way the
73programmer doesn't have to write certain functions (such as writing a
74string of text to the screen) from scratch every time he creates a
75program.</para></sect4>
76
77<sect4><title>libsupc++</title>
78<para>libsup++ provides support for the c++ programming language. Among other
79things, libsup++ contains routines for exception handling.</para></sect4>
80
81</sect3>
82
83</sect2>
84
Note: See TracBrowser for help on using the repository browser.