1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
6 | %general-entities;
|
---|
7 | %patches-entities;
|
---|
8 | ]>
|
---|
9 |
|
---|
10 | <sect1 id="ch-temp-system-binutils" role="wrap">
|
---|
11 | <?dbhtml filename="binutils.html"?>
|
---|
12 |
|
---|
13 | <title>Binutils-&binutils-version;</title>
|
---|
14 |
|
---|
15 | <indexterm zone="ch-temp-system-binutils">
|
---|
16 | <primary sortas="a-Binutils">Binutils</primary>
|
---|
17 | <secondary>temporary system</secondary>
|
---|
18 | </indexterm>
|
---|
19 |
|
---|
20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
21 | href="../../final-system/common/binutils.xml"
|
---|
22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
23 |
|
---|
24 | <sect2 role="installation">
|
---|
25 | <title>Installation of Binutils</title>
|
---|
26 |
|
---|
27 | <para os="da">It is important that Binutils be the first package compiled
|
---|
28 | because both Glibc and GCC perform various tests on the available
|
---|
29 | linker and assembler to determine which of their own features to
|
---|
30 | enable.</para>
|
---|
31 |
|
---|
32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
33 | href="../../cross-tools/common/binutils.xml"
|
---|
34 | xpointer="xpointer(//*[@os='ba'])"/>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="../../cross-tools/common/binutils.xml"
|
---|
38 | xpointer="xpointer(//*[@os='bb'])"/>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="../../final-system/common/binutils.xml"
|
---|
42 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="../../final-system/common/binutils.xml"
|
---|
46 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
47 |
|
---|
48 | <!-- To be moved to their proper file (or full removed) when decided
|
---|
49 | how to manage SBUs
|
---|
50 |
|
---|
51 | <note>
|
---|
52 | <para>In order for the SBU values listed in the rest of the book
|
---|
53 | to be of any use, measure the time it takes to build this package from
|
---|
54 | the configuration, up to and including the first install. To achieve
|
---|
55 | this easily, wrap the four commands in a <command>time</command>
|
---|
56 | command like this: <userinput>time { ./configure ... && ...
|
---|
57 | && ... && make install; }</userinput>.</para>
|
---|
58 | </note>
|
---|
59 |
|
---|
60 | -->
|
---|
61 |
|
---|
62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
63 | href="../../final-system/common/binutils.xml"
|
---|
64 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
65 |
|
---|
66 | <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
|
---|
67 | --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
|
---|
68 | --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>
|
---|
69 |
|
---|
70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
71 | href="../../cross-tools/common/binutils.xml"
|
---|
72 | xpointer="xpointer(//*[@os='be'])"/>
|
---|
73 |
|
---|
74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
75 | href="../../cross-tools/common/binutils.xml"
|
---|
76 | xpointer="xpointer(//*[@os='bf'])"/>
|
---|
77 |
|
---|
78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
79 | href="../../cross-tools/common/binutils.xml"
|
---|
80 | xpointer="xpointer(//*[@os='bg'])"/>
|
---|
81 |
|
---|
82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
83 | href="../../cross-tools/common/binutils.xml"
|
---|
84 | xpointer="xpointer(//*[@os='bh'])"/>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="content">
|
---|
89 | <title/>
|
---|
90 |
|
---|
91 | <para>Details on this package are located in <xref
|
---|
92 | linkend="contents-binutils" role="."/></para>
|
---|
93 |
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | </sect1>
|
---|