%general-entities; ]> GCC-&gcc-version; GCC temporary system Installation of GCC cp -v gcc/Makefile.in{,.orig} sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in Before starting to build GCC, remember to unset any environment variables that override the default optimization flags. ../gcc-&gcc-version;/configure --prefix=/tools \ --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ --with-local-prefix=/tools --disable-multilib \ --enable-languages=c,c++ --with-system-zlib \ --with-native-system-header-dir=/tools/include \ --disable-libssp --enable-install-libiberty The meaning of the new configure option: --enable-install-libiberty Allows GCC to build and install libiberty.a and its associated headers. This library is needed for some packages to compile. Compile the package: make AS_FOR_TARGET="${AS}" \ LD_FOR_TARGET="${LD}" Install the package: make install <para>Details on this package are located in <xref linkend="contents-gcc" role="."/></para> </sect2> </sect1>