A.18. GCC

For installation instructions see Section 6.15.

A.18.1. Official Download Location

GCC (3.3.1): 
ftp://ftp.gnu.org/pub/gnu/gcc/

GCC No-Fixincludes Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/gcc-3.3.1-no_fixincludes-2.patch

GCC Specs Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/gcc-3.3.1-specs-2.patch

GCC Suppress-Libiberty Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/gcc-3.3.1-suppress-libiberty.patch

GCC-2 (2.95.3): 
ftp://ftp.gnu.org/pub/gnu/gcc/

GCC-2 Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/gcc-2.95.3-2.patch

GCC-2 No-Fixincludes Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/gcc-2.95.3-no-fixinc.patch

GCC-2 Return-Type Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/gcc-2.95.3-returntype-fix.patch

A.18.2. Contents of GCC

The GCC package contains the GNU compiler collection, including the C and C++ compilers.

Installed programs: c++, cc (link to gcc), cc1, cc1plus, collect2, cpp, g++, gcc, gccbug, and gcov

Installed libraries: libgcc.a, libgcc_eh.a, libgcc_s.so, libstdc++.[a,so] and libsupc++.a

A.18.3.

A.18.4. Short descriptions

cpp is the C preprocessor. It is used by the compiler to have the #include and #define and such statements expanded in the source files.

g++ is the C++ compiler.

gcc is the C compiler. It is used to translate the source code of a program into assembly code.

gccbug is a shell script used to help create good bug reports.

gcov is a coverage testing tool. It is used to analyze programs to find out where optimizations will have the most effect.

libgcc* contains run-time support for gcc.

libstdc++ is the standard C++ library. It contains many frequently-used functions.

libsupc++ provides supporting routines for the c++ programming language.

A.18.5.

A.18.6. GCC Installation Dependencies

GCC depends on: Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, Gettext, Glibc, Grep, Make, Perl, Sed, Texinfo.