aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/binutils-pass2-inst.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 /chapter05/binutils-pass2-inst.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 'chapter05/binutils-pass2-inst.xml')
-rw-r--r--chapter05/binutils-pass2-inst.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/chapter05/binutils-pass2-inst.xml b/chapter05/binutils-pass2-inst.xml
index 77b464c17..22eadeceb 100644
--- a/chapter05/binutils-pass2-inst.xml
+++ b/chapter05/binutils-pass2-inst.xml
@@ -8,13 +8,12 @@ mkdir ../binutils-build
cd ../binutils-build
CFLAGS="-O2 -pipe" ../binutils-&binutils-version;/configure --prefix=/stage1 \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --with-lib-path=/stage1/lib
-make LDFLAGS="-s"
-make check
-make install</userinput></screen></para>
+make tooldir=/stage1 LDFLAGS="-s"
+make tooldir=/stage1 check
+make tooldir=/stage1 install</userinput></screen></para>
-<para><screen><userinput>cd ld
-make clean
-make LIB_PATH=/usr/lib:/lib</userinput></screen></para>
+<para><screen><userinput>make -C ld clean
+make -C ld tooldir=/stage1 LIB_PATH=/usr/lib:/lib</userinput></screen></para>
<para>Do not remove the binutils-* directories after the installation.
We'll need this directory again in chapter 6 as-is.</para>