aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-02 20:15:02 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-02 20:15:02 +0000
commit3f12743405f4123463b57e0446bafdd398f2e598 (patch)
tree83da594bcaa934cf257c132e40768c79e4ebc98c /chapter05/gcc-inst.xml
parent9ef087369ca769f8f3a4ff76f7dba91a0bc80678 (diff)
fix bugs #335 and #342 plus various touch ups, layout fixed (line wrapping mostly)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1864 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r--chapter05/gcc-inst.xml9
1 files changed, 3 insertions, 6 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index c79a98ee4..029fa52fe 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -21,12 +21,9 @@ cd ../gcc-build &amp;&amp;
&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix &amp;&amp;
make BOOT_LDFLAGS=-static bootstrap &amp;&amp;
make prefix=$LFS/usr install &amp;&amp;
-cd $LFS/lib &amp;&amp;
-ln -sf ../usr/bin/cpp &amp;&amp;
-cd $LFS/usr/lib &amp;&amp;
-ln -sf ../bin/cpp &amp;&amp;
-cd $LFS/usr/bin &amp;&amp;
-ln -sf gcc cc &amp;&amp;
+ln -sf ../usr/bin/cpp $LFS/lib &amp;&amp;
+ln -sf ../bin/cpp $LFS/usr/lib &amp;&amp;
+ln -sf gcc $LFS/usr/bin/cc &amp;&amp;
rmdir $LFS/usr/*-gnu/include &amp;&amp;
rmdir $LFS/usr/*-gnu</userinput></screen></para>