2003-05-02 19:20:20 +01:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Binutils</title>
|
|
|
|
|
2003-05-02 21:36:04 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-lib-path.patch
|
2003-05-05 20:56:29 +01:00
|
|
|
mkdir ../binutils-build
|
|
|
|
cd ../binutils-build
|
|
|
|
CFLAGS="-O2 -pipe" ../binutils-&binutils-version;/configure --prefix=/stage1 \
|
2003-05-02 19:20:20 +01:00
|
|
|
--enable-shared --with-lib-path=/stage1/lib
|
|
|
|
make LDFLAGS="-s"
|
2003-05-05 20:56:29 +01:00
|
|
|
make check
|
2003-05-02 19:20:20 +01:00
|
|
|
make install</userinput></screen></para>
|
|
|
|
|
2003-05-05 20:56:29 +01:00
|
|
|
<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>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|