diff options
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r-- | chapter06/gcc-inst.xml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 33eaee7f7..35eab2365 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -22,18 +22,16 @@ 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>patch -Np1 -i ../gcc-&gcc-patch-version;.patch && -mkdir ../gcc-build && +<para><screen><userinput>mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \ - --enable-languages=c,c++ --enable-threads=posix && + --enable-languages=c,c++ --enable-threads=posix \ + --with-slibdir=/lib && make bootstrap && make install && ln -sf ../usr/bin/cpp /lib && ln -sf ../bin/cpp /usr/lib && -ln -sf gcc /usr/bin/cc && -rmdir /usr/*-gnu/include && -rmdir /usr/*-gnu</userinput></screen></para> +ln -sf gcc /usr/bin/cc</userinput></screen></para> </sect2> |