aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/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 /chapter06/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 'chapter06/gcc-inst.xml')
-rw-r--r--chapter06/gcc-inst.xml11
1 files changed, 4 insertions, 7 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index ff0db53be..33eaee7f7 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -26,15 +26,12 @@ who actively work on LFS.</para>
mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
-&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;
make bootstrap &amp;&amp;
make install &amp;&amp;
-cd /lib &amp;&amp;
-ln -sf ../usr/bin/cpp &amp;&amp;
-cd /usr/lib &amp;&amp;
-ln -sf ../bin/cpp &amp;&amp;
-cd /usr/bin &amp;&amp;
-ln -sf gcc cc &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>