Installation of Binutils
patch -Np1 -i ../binutils-&binutils-version;-lib-path.patch
mkdir ../binutils-build
cd ../binutils-build
../binutils-&binutils-version;/configure --prefix=/stage1 \
--enable-shared --with-lib-path=/stage1/lib
make
make check
make install
make -C ld clean
make -C ld 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.