| [bf8c11f] | 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/common/binutils.xml" | 
|---|
|  | 61 | xpointer="xpointer(//*[@os='g'])"/> | 
|---|
|  | 62 |  | 
|---|
|  | 63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 64 | href="../../final-system/common/binutils.xml" | 
|---|
|  | 65 | xpointer="xpointer(//*[@os='h'])"/> | 
|---|
|  | 66 |  | 
|---|
|  | 67 | <!-- To be moved to their proper file (or full removed) when decided | 
|---|
|  | 68 | how to manage SBUs | 
|---|
|  | 69 |  | 
|---|
|  | 70 | <note> | 
|---|
|  | 71 | <para>In order for the SBU values listed in the rest of the book | 
|---|
|  | 72 | to be of any use, measure the time it takes to build this package from | 
|---|
|  | 73 | the configuration, up to and including the first install. To achieve | 
|---|
|  | 74 | this easily, wrap the four commands in a <command>time</command> | 
|---|
|  | 75 | command like this: <userinput>time { ./configure ... && ... | 
|---|
|  | 76 | && ... && make install; }</userinput>.</para> | 
|---|
|  | 77 | </note> | 
|---|
|  | 78 |  | 
|---|
|  | 79 | --> | 
|---|
|  | 80 |  | 
|---|
|  | 81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 82 | href="../../final-system/common/binutils.xml" | 
|---|
|  | 83 | xpointer="xpointer(//*[@os='i'])"/> | 
|---|
|  | 84 |  | 
|---|
|  | 85 | <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \ | 
|---|
|  | 86 | --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ | 
|---|
|  | 87 | --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen> | 
|---|
|  | 88 |  | 
|---|
|  | 89 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 90 | href="../../cross-tools/common/binutils.xml" | 
|---|
|  | 91 | xpointer="xpointer(//*[@os='be'])"/> | 
|---|
|  | 92 |  | 
|---|
|  | 93 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 94 | href="../../cross-tools/common/binutils.xml" | 
|---|
|  | 95 | xpointer="xpointer(//*[@os='bf'])"/> | 
|---|
|  | 96 |  | 
|---|
|  | 97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 98 | href="../../cross-tools/common/binutils.xml" | 
|---|
|  | 99 | xpointer="xpointer(//*[@os='bg'])"/> | 
|---|
|  | 100 |  | 
|---|
|  | 101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 102 | href="../../cross-tools/common/binutils.xml" | 
|---|
|  | 103 | xpointer="xpointer(//*[@os='bh'])"/> | 
|---|
|  | 104 |  | 
|---|
|  | 105 | </sect2> | 
|---|
|  | 106 |  | 
|---|
|  | 107 | <sect2 role="content"> | 
|---|
|  | 108 | <title/> | 
|---|
|  | 109 |  | 
|---|
|  | 110 | <para>Details on this package are located in <xref | 
|---|
|  | 111 | linkend="contents-binutils" role="."/></para> | 
|---|
|  | 112 |  | 
|---|
|  | 113 | </sect2> | 
|---|
|  | 114 |  | 
|---|
|  | 115 | </sect1> | 
|---|