aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/bash-inst.xml2
-rw-r--r--chapter06/fileutils-inst.xml4
-rw-r--r--chapter06/gcc-inst.xml8
3 files changed, 12 insertions, 2 deletions
diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml
index 0e113e9e9..08c522099 100644
--- a/chapter06/bash-inst.xml
+++ b/chapter06/bash-inst.xml
@@ -7,6 +7,8 @@
   --bindir=/bin &&
make &&
make install &&
+cd /bin &&
+ln -sf bash sh &&
exec /bin/bash --login</userinput></screen></para>
</sect2>
diff --git a/chapter06/fileutils-inst.xml b/chapter06/fileutils-inst.xml
index 8cfabe762..4e7ad9327 100644
--- a/chapter06/fileutils-inst.xml
+++ b/chapter06/fileutils-inst.xml
@@ -6,7 +6,9 @@
<para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
&nbsp;&nbsp;&nbsp;--libexecdir=/bin &amp;&amp;
make &amp;&amp;
-make install</userinput></screen></para>
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf ../../bin/install</userinput></screen></para>
</sect2>
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>