aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/adjustingtoolchain.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-10 23:29:43 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-10 23:29:43 +0000
commita5b2aa952edbfaf52eada536e7a8fe7d8de30bba (patch)
treebf9745d1c8235b1f8877c8f7f5fb2e388ddd463f /chapter06/adjustingtoolchain.xml
parentb2d4656229fd2aa088bb1b10a889419cf9cd807c (diff)
add tooldir=/stage1 to binutils install and fix bug in ch6-adjustingtoolchain
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2551 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/adjustingtoolchain.xml')
-rw-r--r--chapter06/adjustingtoolchain.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/chapter06/adjustingtoolchain.xml b/chapter06/adjustingtoolchain.xml
index 78de9e897..7add84c7f 100644
--- a/chapter06/adjustingtoolchain.xml
+++ b/chapter06/adjustingtoolchain.xml
@@ -3,12 +3,11 @@
<?dbhtml filename="adjustingtoolchain.html" dir="chapter06"?>
<para><screen><userinput>cd binutils-build
-make -C ld INSTALL=/stage1/bin/install install-data-local
-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
+make -C ld tooldir=/stage1 INSTALL=/stage1/bin/install install-data-local
+
+SPECFILE=/stage1/lib/gcc-lib/*/*/specs &&
+sed -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1@g' \
+&nbsp;&nbsp;&nbsp;&nbsp;-e 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' $SPECFILE > XX
mv XX $SPECFILE
unset SPECFILE</userinput></screen></para>