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 | ]>
|
---|
6 | <sect1 id="ch-system-binutils" xreflabel="Binutils" role="wrap">
|
---|
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>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 |
|
---|
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>
|
---|
24 |
|
---|
25 | <para>Check if there is PTYs for the test suites:</para>
|
---|
26 |
|
---|
27 | <screen><userinput>expect -c "spawn ls"</userinput></screen>
|
---|
28 |
|
---|
29 | <para>Create the build directory:</para>
|
---|
30 |
|
---|
31 | <screen><userinput>mkdir ../binutils-build
|
---|
32 | cd ../binutils-build</userinput></screen>
|
---|
33 |
|
---|
34 | <para>Now prepare Binutils for compilation:</para>
|
---|
35 |
|
---|
36 | <screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
|
---|
37 |
|
---|
38 | <para>Compile the package:</para>
|
---|
39 |
|
---|
40 | <screen><userinput>make tooldir=/usr</userinput></screen>
|
---|
41 |
|
---|
42 | <para>Test the results:</para>
|
---|
43 |
|
---|
44 | <screen><userinput>make -k check</userinput></screen>
|
---|
45 |
|
---|
46 | <para>The test suite notes from <xref linkend="ch-tools-binutils-pass2"/> are still
|
---|
47 | very much appropriate here..</para>
|
---|
48 |
|
---|
49 | <para>Install the package:</para>
|
---|
50 |
|
---|
51 | <screen><userinput>make tooldir=/usr install</userinput></screen>
|
---|
52 |
|
---|
53 | <para>Install the <filename class="headerfile">libiberty</filename> header file:</para>
|
---|
54 |
|
---|
55 | <screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
|
---|
56 |
|
---|
57 | </sect2>
|
---|
58 |
|
---|
59 |
|
---|
60 | <sect2 id="contents-binutils" role="content"><title>Contents of Binutils</title>
|
---|
61 |
|
---|
62 | <para>See testing</para>
|
---|
63 |
|
---|
64 | </sect2>
|
---|
65 |
|
---|
66 | </sect1>
|
---|