%general-entities; ]> GCC-&gcc-version; GCC <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>11.7 SBU</seg><seg>294 MB</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of GCC Apply a patch: patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch Apply another patch: patch -Np1 -i ../gcc-&gcc-version;-linkonce-1.patch Apply a sed substitution: sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in Create a build directory: mkdir ../gcc-build cd ../gcc-build Now prepare GCC for compilation: ../gcc-&gcc-version;/configure --prefix=/usr \ --libexecdir=/usr/lib --enable-shared --enable-threads=posix \ --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ Compile the package: make Test the results): make -k check The test suite notes from are still very much appropriate here. Now install the package: make install Create this symlink: ln -s ../usr/bin/cpp /lib Create another symlink: ln -s gcc /usr/bin/cc Refer back to and repeat the check. Contents of GCC See testing