diff options
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r-- | chapter06/gcc-inst.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index ae56e55c7..60a486886 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -18,11 +18,12 @@ are available.</para> <para>Note: the build of other compilers is not tested by the people who actively work on LFS.</para> -<para><screen><userinput>mkdir ../gcc-build && +<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch && +mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \ --enable-languages=c,c++ --enable-threads=posix \ - --with-slibdir=/lib && + --with-slibdir=/lib --enable-_cxa-atexit && make bootstrap && make install && ln -s ../usr/bin/cpp /lib && |