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.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 &&
../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
   --enable-languages=c,c++ --enable-threads=posix &&
make bootstrap &&
-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>