[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[a001133] | 6 | <sect1 id="ch-system-binutils" xreflabel="Binutils" role="wrap">
|
---|
[673b0d8] | 7 | <title>Binutils-&binutils-version;</title>
|
---|
| 8 | <?dbhtml filename="binutils.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-binutils"><primary sortas="a-Binutils">Binutils</primary></indexterm>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[5888299] | 13 |
|
---|
[a001133] | 14 | <segmentedlist>
|
---|
| 15 | <segtitle>&buildtime;</segtitle>
|
---|
| 16 | <segtitle>&diskspace;</segtitle>
|
---|
| 17 | <seglistitem><seg>1.4 SBU</seg><seg>167 MB</seg></seglistitem>
|
---|
| 18 | </segmentedlist>
|
---|
| 19 |
|
---|
| 20 | </sect2>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Binutils</title>
|
---|
[73aedd1d] | 24 |
|
---|
[3f0c882] | 25 | <para>Check if there is PTYs for the test suites:</para>
|
---|
[73aedd1d] | 26 |
|
---|
| 27 | <screen><userinput>expect -c "spawn ls"</userinput></screen>
|
---|
| 28 |
|
---|
[3f0c882] | 29 | <para>Create the build directory:</para>
|
---|
[73aedd1d] | 30 |
|
---|
| 31 | <screen><userinput>mkdir ../binutils-build
|
---|
| 32 | cd ../binutils-build</userinput></screen>
|
---|
| 33 |
|
---|
| 34 | <para>Now prepare Binutils for compilation:</para>
|
---|
| 35 |
|
---|
[673b0d8] | 36 | <screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
|
---|
[73aedd1d] | 37 |
|
---|
| 38 | <para>Compile the package:</para>
|
---|
| 39 |
|
---|
| 40 | <screen><userinput>make tooldir=/usr</userinput></screen>
|
---|
| 41 |
|
---|
| 42 | <para>Test the results:</para>
|
---|
| 43 |
|
---|
[9dfc02f] | 44 | <screen><userinput>make -k check</userinput></screen>
|
---|
[73aedd1d] | 45 |
|
---|
[3be4d97] | 46 | <para>The test suite notes from <xref linkend="ch-tools-binutils-pass2"/> are still
|
---|
[3f0c882] | 47 | very much appropriate here..</para>
|
---|
[73aedd1d] | 48 |
|
---|
| 49 | <para>Install the package:</para>
|
---|
| 50 |
|
---|
| 51 | <screen><userinput>make tooldir=/usr install</userinput></screen>
|
---|
| 52 |
|
---|
[3f0c882] | 53 | <para>Install the <filename class="headerfile">libiberty</filename> header file:</para>
|
---|
[73aedd1d] | 54 |
|
---|
[673b0d8] | 55 | <screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
|
---|
[73aedd1d] | 56 |
|
---|
| 57 | </sect2>
|
---|
[6370fa6] | 58 |
|
---|
[5888299] | 59 |
|
---|
[c6cb3aa] | 60 | <sect2 id="contents-binutils" role="content"><title>Contents of Binutils</title>
|
---|
[673b0d8] | 61 |
|
---|
[3f0c882] | 62 | <para>See testing</para>
|
---|
[673b0d8] | 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | </sect1>
|
---|