2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect1 id="ch-tools-binutils-pass2" role="wrap">
|
2004-05-03 11:59:46 +01:00
|
|
|
<title>Binutils-&binutils-version; - Pass 2</title>
|
|
|
|
<?dbhtml filename="binutils-pass2.html"?>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect2 role="package"><title/>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
<seglistitem><seg>1.5 SBU</seg><seg>108 MB</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2003-11-01 22:31:50 +00:00
|
|
|
<title>Re-installation of Binutils</title>
|
|
|
|
|
|
|
|
<para>Create a separate build directory again:</para>
|
|
|
|
|
|
|
|
<screen><userinput>mkdir ../binutils-build
|
|
|
|
cd ../binutils-build</userinput></screen>
|
|
|
|
|
2003-11-02 22:20:47 +00:00
|
|
|
<para>Now prepare Binutils for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-05-03 11:59:46 +01:00
|
|
|
<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
|
|
|
|
--enable-shared --with-lib-path=/tools/lib</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
2003-12-22 09:32:12 +00:00
|
|
|
<screen><userinput>make</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-12-22 12:06:22 +00:00
|
|
|
<para>Test the results:</para>
|
|
|
|
|
2005-01-30 12:51:22 +00:00
|
|
|
<!-- NEW -->
|
2004-05-03 22:28:58 +01:00
|
|
|
<screen><userinput>make -k check</userinput></screen>
|
|
|
|
|
|
|
|
<para>Except for a few known failures, the binutils tests should all pass. The
|
|
|
|
exceptions to this rule are as follows:</para>
|
|
|
|
|
2004-05-30 14:41:04 +01:00
|
|
|
<screen><computeroutput>* 5 FAIL (unexpected failure) for visibility
|
2004-05-03 22:28:58 +01:00
|
|
|
* 1 FAIL for selective4
|
2004-05-30 14:41:04 +01:00
|
|
|
* 1 FAIL for selective5</computeroutput></screen>
|
2005-01-30 12:51:22 +00:00
|
|
|
<!-- END NEW-->
|
2004-05-03 22:28:58 +01:00
|
|
|
|
2004-01-26 22:23:41 +00:00
|
|
|
<para>And install the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
2004-05-30 14:41:04 +01:00
|
|
|
<para>Now prepare the linker for the <quote>Re-adjusting</quote> phase in the next
|
2003-11-01 22:31:50 +00:00
|
|
|
chapter:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make -C ld clean
|
|
|
|
make -C ld LIB_PATH=/usr/lib:/lib</userinput></screen>
|
|
|
|
|
|
|
|
|
2004-02-11 22:02:32 +00:00
|
|
|
<warning><para><emphasis>Do not yet remove</emphasis> the Binutils source and
|
|
|
|
build directories. You will need these directories again in the next chapter
|
|
|
|
in the state they are in now.</para></warning>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-05-08 15:30:32 +01:00
|
|
|
</sect2>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
</sect1>
|