aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-inst.xml
diff options
context:
space:
mode:
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>