# from LFS: http://www.linuxfromscratch.org/blfs/view/svn/general/gcc3.html # run from gcc-3.3.6 dir patch -Np1 -i ../gcc-3.3.6-no_fixincludes-1.patch && patch -Np1 -i ../gcc-3.3.6-linkonce-1.patch && mkdir ../gcc-build && cd ../gcc-build && ../gcc-3.3.6/configure --prefix=/opt/gcc-3.3.6 \ --enable-shared --enable-languages=c,c++ --enable-threads=posix && make bootstrap