aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/binutils-pass2-inst.xml
blob: 62529a13d79eb2368673f68cf2dc1b83ad955d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Binutils</title>

<para><screen><userinput>mkdir ../binutils-build
cd ../binutils-build
../binutils-&binutils-version;/configure --prefix=/stage1 \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --with-lib-path=/stage1/lib
make 
make check
make install</userinput></screen></para>

<para><screen><userinput>make -C ld clean
make -C ld 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>