aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/adjustingtoolchain.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/chapter06/adjustingtoolchain.xml b/chapter06/adjustingtoolchain.xml
index 941b79bf5..78de9e897 100644
--- a/chapter06/adjustingtoolchain.xml
+++ b/chapter06/adjustingtoolchain.xml
@@ -4,11 +4,13 @@
<para><screen><userinput>cd binutils-build
make -C ld INSTALL=/stage1/bin/install install-data-local
-SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &amp;&amp;
-cp ${SPECFILE} ./XX &amp;&amp;
-sed 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &amp;&amp;
-unset SPECFILE &amp;&amp;
-rm -f ./XX</userinput></screen></para>
+SPECFILE=/stage1/lib/gcc-lib/*/*/specs
+sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1@g' \
+&nbsp;&nbsp;&nbsp;&nbsp;-e
+'s@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \
+&nbsp;&nbsp;&nbsp;&nbsp;$SPECFILE > XX
+mv XX $SPECFILE
+unset SPECFILE</userinput></screen></para>
</sect1>