Linux From Scratch: Version 5.0-pre3
Prev | Appendix A. Package descriptions and dependencies | Next

# 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:
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

## Contents of GCC

(Last checked against version 3.3.1.)

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, libiberty.a, libstdc++.[a,so] and libsupc++.a

##

## 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.

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, cpp, gcc
Grep: egrep, grep
Make: make
Sed: sed
Tar: tar
Texinfo: install-info, makeinfo

Prev | Home | Next
Gawk | Up | Gettext