aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-05 19:56:29 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-05 19:56:29 +0000
commit384382bd576f93afd3ec0376a46ba9e9912fefa6 (patch)
treee0d8aaa74402e5c316b5ca3478899b01810a6889 /chapter05
parenta80b743be865babfc72f91f59404e1e0d3e7dbd3 (diff)
added mkdir/cd binutils commands. Replaced hard-coded version with an entity reference. Added note not to remove binutils dirs. Removed -k option from make check
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2512 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/binutils-pass2-inst.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/chapter05/binutils-pass2-inst.xml b/chapter05/binutils-pass2-inst.xml
index 592c35268..77b464c17 100644
--- a/chapter05/binutils-pass2-inst.xml
+++ b/chapter05/binutils-pass2-inst.xml
@@ -4,12 +4,20 @@
<title>Installation of Binutils</title>
<para><screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-lib-path.patch
-CFLAGS="-O2 -pipe" ../binutils-2.13.2.1/configure --prefix=/stage1 \
+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 -k check
+make check
make install</userinput></screen></para>
+<para><screen><userinput>cd ld
+make clean
+make 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>
</sect2>