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 @@ Installation of Binutils 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 \     --enable-shared --with-lib-path=/stage1/lib make LDFLAGS="-s" -make -k check +make check make install +cd ld +make clean +make LIB_PATH=/usr/lib:/lib + +Do not remove the binutils-* directories after the installation. +We'll need this directory again in chapter 6 as-is.