2003-05-02 19:20:20 +01:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2003-08-11 23:49:50 +01:00
|
|
|
<title>Re-installation of Binutils</title>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2003-09-23 01:53:52 +01:00
|
|
|
<note><para>It's worth pointing out that the Binutils test suite we run in this
|
2003-09-23 06:54:49 +01:00
|
|
|
section is considered not as important as the one we run in Chapter 6.</para>
|
2003-09-16 08:28:26 +01:00
|
|
|
</note>
|
|
|
|
|
2003-09-22 15:25:37 +01:00
|
|
|
<para>Create a separate build directory again:</para>
|
2003-08-09 12:45:03 +01:00
|
|
|
|
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>
|
|
|
|
|
2003-09-02 23:03:51 +01:00
|
|
|
<para><screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
|
|
|
|
--enable-shared --with-lib-path=/tools/lib</userinput></screen></para>
|
2003-08-09 12:45:03 +01:00
|
|
|
|
2003-08-11 23:49:50 +01:00
|
|
|
<para>Before starting to build Binutils, remember to unset any environment
|
|
|
|
variables that override the default optimization flags.</para>
|
|
|
|
|
2003-08-09 12:45:03 +01:00
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make </userinput></screen></para>
|
|
|
|
|
2003-08-11 23:49:50 +01:00
|
|
|
<para>Test the results (nothing should fail here):</para>
|
2003-08-09 12:45:03 +01:00
|
|
|
|
|
|
|
<para><screen><userinput>make check</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>And install the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
|
2003-09-16 05:25:50 +01:00
|
|
|
<para>Now prepare Binutils for the re-adjusting of the toolchain 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-09-11 19:00:03 +01:00
|
|
|
<caution><para>Do not yet remove the Binutils source and build
|
2003-08-09 12:45:03 +01:00
|
|
|
directories. We'll need these directories again in the next chapter in the
|
2003-09-11 19:00:03 +01:00
|
|
|
state they are in now.</para></caution>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|