| 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 |   <sect2 role="package">
 | 
|---|
| 21 |     <title/>
 | 
|---|
| 22 | 
 | 
|---|
| 23 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 24 |     href="../../final-system/common/binutils.xml"
 | 
|---|
| 25 |     xpointer="xpointer(//*[@role='package']/para[1])"/>
 | 
|---|
| 26 | 
 | 
|---|
| 27 |     <segmentedlist>
 | 
|---|
| 28 |       <segtitle>&buildtime;</segtitle>
 | 
|---|
| 29 |       <segtitle>&diskspace;</segtitle>
 | 
|---|
| 30 | 
 | 
|---|
| 31 |       <seglistitem>
 | 
|---|
| 32 |         <seg>Not checked yet</seg>
 | 
|---|
| 33 |         <seg>Not checked yet</seg>
 | 
|---|
| 34 |       </seglistitem>
 | 
|---|
| 35 |     </segmentedlist>
 | 
|---|
| 36 | 
 | 
|---|
| 37 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 38 |     href="../../final-system/common/binutils.xml"
 | 
|---|
| 39 |     xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
 | 
|---|
| 40 | 
 | 
|---|
| 41 |   </sect2>
 | 
|---|
| 42 | 
 | 
|---|
| 43 |   <sect2 role="installation">
 | 
|---|
| 44 |     <title>Installation of Binutils</title>
 | 
|---|
| 45 | 
 | 
|---|
| 46 |     <para os="da">It is important that Binutils be the first package compiled
 | 
|---|
| 47 |     because both Glibc and GCC perform various tests on the available
 | 
|---|
| 48 |     linker and assembler to determine which of their own features to
 | 
|---|
| 49 |     enable.</para>
 | 
|---|
| 50 | 
 | 
|---|
| 51 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 52 |     href="../../cross-tools/common/binutils.xml"
 | 
|---|
| 53 |     xpointer="xpointer(//*[@os='ba'])"/>
 | 
|---|
| 54 | 
 | 
|---|
| 55 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 56 |     href="../../cross-tools/common/binutils.xml"
 | 
|---|
| 57 |     xpointer="xpointer(//*[@os='bb'])"/>
 | 
|---|
| 58 | 
 | 
|---|
| 59 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 60 |     href="../../final-system/sparc/binutils.xml"
 | 
|---|
| 61 |     xpointer="xpointer(//*[@os='s1'])"/>
 | 
|---|
| 62 | 
 | 
|---|
| 63 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 64 |     href="../../final-system/sparc/binutils.xml"
 | 
|---|
| 65 |     xpointer="xpointer(//*[@os='s2'])"/>
 | 
|---|
| 66 | 
 | 
|---|
| 67 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 68 |     href="../../final-system/common/binutils.xml"
 | 
|---|
| 69 |     xpointer="xpointer(//*[@os='g'])"/>
 | 
|---|
| 70 | 
 | 
|---|
| 71 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 72 |     href="../../final-system/common/binutils.xml"
 | 
|---|
| 73 |     xpointer="xpointer(//*[@os='h'])"/>
 | 
|---|
| 74 | 
 | 
|---|
| 75 |     <!-- To be moved to their proper file (or full removed) when decided
 | 
|---|
| 76 |     how to manage SBUs
 | 
|---|
| 77 | 
 | 
|---|
| 78 |     <note>
 | 
|---|
| 79 |       <para>In order for the SBU values listed in the rest of the book
 | 
|---|
| 80 |       to be of any use, measure the time it takes to build this package from
 | 
|---|
| 81 |       the configuration, up to and including the first install. To achieve
 | 
|---|
| 82 |       this easily, wrap the four commands in a <command>time</command>
 | 
|---|
| 83 |       command like this: <userinput>time { ./configure ... && ...
 | 
|---|
| 84 |       && ... && make install; }</userinput>.</para>
 | 
|---|
| 85 |     </note>
 | 
|---|
| 86 | 
 | 
|---|
| 87 |     -->
 | 
|---|
| 88 | 
 | 
|---|
| 89 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 90 |     href="../../final-system/common/binutils.xml"
 | 
|---|
| 91 |     xpointer="xpointer(//*[@os='i'])"/>
 | 
|---|
| 92 | 
 | 
|---|
| 93 | <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
 | 
|---|
| 94 |      --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
 | 
|---|
| 95 |      --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>
 | 
|---|
| 96 | 
 | 
|---|
| 97 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 98 |     href="../../cross-tools/common/binutils.xml"
 | 
|---|
| 99 |     xpointer="xpointer(//*[@os='be'])"/>
 | 
|---|
| 100 | 
 | 
|---|
| 101 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 102 |     href="../../cross-tools/common/binutils.xml"
 | 
|---|
| 103 |     xpointer="xpointer(//*[@os='bf'])"/>
 | 
|---|
| 104 | 
 | 
|---|
| 105 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 106 |     href="../../cross-tools/common/binutils.xml"
 | 
|---|
| 107 |     xpointer="xpointer(//*[@os='bg'])"/>
 | 
|---|
| 108 | 
 | 
|---|
| 109 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 110 |     href="../../cross-tools/common/binutils.xml"
 | 
|---|
| 111 |     xpointer="xpointer(//*[@os='bh'])"/>
 | 
|---|
| 112 | 
 | 
|---|
| 113 |   </sect2>
 | 
|---|
| 114 | 
 | 
|---|
| 115 |   <sect2 role="content">
 | 
|---|
| 116 |     <title/>
 | 
|---|
| 117 | 
 | 
|---|
| 118 |     <para>Details on this package are located in <xref
 | 
|---|
| 119 |     linkend="contents-binutils" role="."/></para>
 | 
|---|
| 120 | 
 | 
|---|
| 121 |   </sect2>
 | 
|---|
| 122 | 
 | 
|---|
| 123 | </sect1>
 | 
|---|