2003-05-02 19:20:20 +01:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Binutils</title>
|
|
|
|
|
2003-08-09 12:45:03 +01:00
|
|
|
<para>First create a separate build directory again:</para>
|
|
|
|
|
Upgraded to binutils-2.14,
linux-2.4.21, expect-5.38.4, gawk-3.1.3, texinfo-4.6, util-linux-2.12,
man-pages-1.58, lfs-utils-0.3, vim-6.2, gettext-0.12.1, automake-1.7.6,
file-4.03, e2fsprogs-1.34, procps-3.1.11, psmisc-21.3
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2660 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-07-30 20:22:54 +01:00
|
|
|
<para><screen><userinput>mkdir ../binutils-build
|
2003-08-09 12:45:03 +01:00
|
|
|
cd ../binutils-build</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Now prepare Binutils to be compiled:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>../binutils-&binutils-version;/configure --prefix=/stage1 \
|
|
|
|
--enable-shared --with-lib-path=/stage1/lib</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make </userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Test the package (nothing should fail here):</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make check</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>And install the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Now already prepare Binutils for the "Locking in" procedure in the next
|
|
|
|
chapter:</para>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2003-05-11 00:29:43 +01:00
|
|
|
<para><screen><userinput>make -C ld clean
|
2003-05-11 03:44:11 +01:00
|
|
|
make -C ld LIB_PATH=/usr/lib:/lib</userinput></screen></para>
|
2003-05-05 20:56:29 +01:00
|
|
|
|
2003-08-09 12:45:03 +01:00
|
|
|
<para><emphasis>Do not yet remove</emphasis> the Binutils source and build
|
|
|
|
directories. We'll need these directories again in the next chapter in the
|
|
|
|
state they are in now.</para>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|