aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-27 03:17:49 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-27 03:17:49 +0000
commitf6810d47a98a74bc11a1787843e10a32ab7eea27 (patch)
treebcf858d10fe9449686436466d9bdd756a5c3bacf /chapter06/gcc-inst.xml
parent69b8ba44aae8e53d8a7cadf5d87974d6e796b221 (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.xml10
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 &amp;&amp;
-mkdir ../gcc-build &amp;&amp;
+<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
-&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix \
+&nbsp;&nbsp;&nbsp;&nbsp;--with-slibdir=/lib &amp;&amp;
make bootstrap &amp;&amp;
make install &amp;&amp;
ln -sf ../usr/bin/cpp /lib &amp;&amp;
ln -sf ../bin/cpp /usr/lib &amp;&amp;
-ln -sf gcc /usr/bin/cc &amp;&amp;
-rmdir /usr/*-gnu/include &amp;&amp;
-rmdir /usr/*-gnu</userinput></screen></para>
+ln -sf gcc /usr/bin/cc</userinput></screen></para>
</sect2>