GCC

For installation instructions see the Section called Installing GCC-3.3.1 in Chapter 6.

Official Download Location

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

GCC No Fixincludes Patch (3.3.1-no_fixincludes-2):
http://downloads.linuxfromscratch.org/

GCC Specs Patch (3.3.1-specs-2):
http://downloads.linuxfromscratch.org/

GCC Suppress Libiberty Patch (3.3.1-suppress-libiberty):
http://downloads.linuxfromscratch.org/

GCC-2 Patch (2.95.3-2):
http://downloads.linuxfromscratch.org/

GCC-2 No Fixincludes Patch (2.95.3):
http://downloads.linuxfromscratch.org/

GCC-2 Return Type Patch (2.95.3):
http://downloads.linuxfromscratch.org/

Contents of GCC

(Last checked against version 3.1.)

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

GCC installs the following files:

Program Files

c++, c++filt, cc (link to gcc), cc1, cc1plus, collect2, cpp, cpp0, g++, gcc, gccbug, gcov and tradcpp0

Library Files

libgcc.a, libgcc_eh.a, libgcc_s.so, libiberty.a, libstdc++.[a,so], libsupc++.a

Descriptions

(Last checked against version 3.1.)

Program file descriptions

c++filt is used by the linker to demangle C++ symbols, to keep overloaded functions from clashing.

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.

Library file descriptions

libgcc* contains run-time support for gcc.

libiberty contains routines used by various GNU programs, including getopt, obstack, strerror, strtol and strtoul.

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

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

GCC Installation Dependencies

(Last checked against version 2.95.3.)

Bash: sh
Binutils: ar, as, ld, nm, ranlib
Coreutils: basename, cat, chmod, cp, dirname, echo, expr, hostname, ln
             ls, mkdir, mv, rm, sleep, tail, touch, tr, true, uname
Diffutils: cmp
Find: find
GCC: cc, cc1, collect2, cpp0, gcc
Grep: egrep, grep
Make: make
Sed: sed
Tar: tar
Texinfo: install-info, makeinfo