diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-27 03:17:49 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-27 03:17:49 +0000 |
commit | f6810d47a98a74bc11a1787843e10a32ab7eea27 (patch) | |
tree | bcf858d10fe9449686436466d9bdd756a5c3bacf /chapter06/gcc-inst.xml | |
parent | 69b8ba44aae8e53d8a7cadf5d87974d6e796b221 (diff) |
Upgraded to: automake-1.6.1, bin86-0.16.3, file-3.38, gawk-3.1.1, gcc-3.1, gettext-0.11.2, modutils-2.4.16, psmisc-21 and util-linux-2.11r. Added gcc-3.1 compile fix patches for ncurses, perl and vim
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1917 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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> |