Estimated build time: 13.26 SBU Estimated required disk space: 221 MB |
Note: the build of other compilers is not tested by the people who actively work on LFS.
patch -Np1 -i ../gcc-3.2.patch && mkdir ../gcc-build && cd ../gcc-build && ../gcc-3.2/configure --prefix=/usr --enable-shared \ ����--enable-languages=c,c++ --enable-threads=posix \ ����--with-slibdir=/lib --enable-__cxa_atexit \ ����--enable-clocale=gnu && make bootstrap && make install && ln -s ../usr/bin/cpp /lib && ln -s ../bin/cpp /usr/lib && ln -s gcc /usr/bin/cc |
--enable-threads=posix: This enables C++ exception handling for multithreaded code.
Last checked against version 3.1.
libgcc.a, libgcc_eh.a, libgcc_s.so, libiberty.a, libstdc++.[a,so], libsupc++.a