Installation of GCC
Install GCC by running the following commands:
mkdir $LFS/usr/src/gcc-build &&
cd $LFS/usr/src/gcc-build &&
../gcc-&gcc-version;/configure --prefix=/usr \
--enable-languages=c,c++ --disable-nls \
--disable-shared &&
make -e LDFLAGS=-static bootstrap &&
make prefix=$LFS/usr install &&
cd $LFS/lib &&
ln -s ../usr/bin/cpp &&
cd $LFS/usr/lib &&
ln -s ../bin/cpp &&
cd $LFS/usr/bin &&
ln -s gcc cc