aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-inst.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-12-10 16:40:26 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-12-10 16:40:26 +0000
commit60fd3bbd6fa6b598eb54deda2b7e245c77024aef (patch)
tree7e9eee26190c1aa659f87c19b7ca919d9dc347c1 /chapter06/gcc-inst.xml
parent8c5e7152f076d6b68a23e6629a44b49763557f48 (diff)
[Bug 150] Re-create /bin/sh symlink in chapter 6 + similar things
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1371 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc-inst.xml')
-rw-r--r--chapter06/gcc-inst.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index f9510506f..5e86705cc 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -23,7 +23,13 @@ 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;
make bootstrap &amp;&amp;
-make install</userinput></screen></para>
+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</userinput></screen></para>
</sect2>