| 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 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 47 | href="../common/binutils.xml" | 
|---|
| 48 | xpointer="xpointer(//*[@os='da'])"/> | 
|---|
| 49 |  | 
|---|
| 50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 51 | href="../common/binutils.xml" | 
|---|
| 52 | xpointer="xpointer(//*[@os='ba'])"/> | 
|---|
| 53 |  | 
|---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 55 | href="../common/binutils.xml" | 
|---|
| 56 | xpointer="xpointer(//*[@os='bb'])"/> | 
|---|
| 57 |  | 
|---|
| 58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 59 | href="../../final-system/multilib/binutils.xml" | 
|---|
| 60 | xpointer="xpointer(//*[@os='aa'])"/> | 
|---|
| 61 |  | 
|---|
| 62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 63 | href="../../final-system/multilib/binutils.xml" | 
|---|
| 64 | xpointer="xpointer(//*[@os='ab'])"/> | 
|---|
| 65 |  | 
|---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 67 | href="../common/binutils.xml" | 
|---|
| 68 | xpointer="xpointer(//*[@os='g'])"/> | 
|---|
| 69 |  | 
|---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 71 | href="../common/binutils.xml" | 
|---|
| 72 | xpointer="xpointer(//*[@os='h'])"/> | 
|---|
| 73 |  | 
|---|
| 74 | <!-- To be moved to their proper file (or full removed) when decided | 
|---|
| 75 | how to manage SBUs | 
|---|
| 76 |  | 
|---|
| 77 | <note> | 
|---|
| 78 | <para>In order for the SBU values listed in the rest of the book | 
|---|
| 79 | to be of any use, measure the time it takes to build this package from | 
|---|
| 80 | the configuration, up to and including the first install. To achieve | 
|---|
| 81 | this easily, wrap the four commands in a <command>time</command> | 
|---|
| 82 | command like this: <userinput>time { ./configure ... && ... | 
|---|
| 83 | && ... && make install; }</userinput>.</para> | 
|---|
| 84 | </note> | 
|---|
| 85 |  | 
|---|
| 86 | --> | 
|---|
| 87 |  | 
|---|
| 88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 89 | href="../common/binutils.xml" | 
|---|
| 90 | xpointer="xpointer(//*[@os='i'])"/> | 
|---|
| 91 |  | 
|---|
| 92 | <screen><userinput>CC="${CC} ${BUILD64}" \ | 
|---|
| 93 | ../binutils-&binutils-version;/configure --prefix=/tools \ | 
|---|
| 94 | --libdir=/tools/lib64 --with-lib-path=/tools/lib \ | 
|---|
| 95 | --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ | 
|---|
| 96 | --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen> | 
|---|
| 97 |  | 
|---|
| 98 | <variablelist os="ea"> | 
|---|
| 99 | <title>The meaning of the new configure options:</title> | 
|---|
| 100 |  | 
|---|
| 101 | <varlistentry> | 
|---|
| 102 | <term><parameter>CC="${CC} ${BUILD64}"</parameter></term> | 
|---|
| 103 | <listitem> | 
|---|
| 104 | <para>This do ...</para> | 
|---|
| 105 | </listitem> | 
|---|
| 106 | </varlistentry> | 
|---|
| 107 |  | 
|---|
| 108 | </variablelist> | 
|---|
| 109 |  | 
|---|
| 110 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 111 | href="../common/binutils.xml" | 
|---|
| 112 | xpointer="xpointer(//*[@os='be'])"/> | 
|---|
| 113 |  | 
|---|
| 114 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 115 | href="../common/binutils.xml" | 
|---|
| 116 | xpointer="xpointer(//*[@os='bf'])"/> | 
|---|
| 117 |  | 
|---|
| 118 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 119 | href="../common/binutils.xml" | 
|---|
| 120 | xpointer="xpointer(//*[@os='bg'])"/> | 
|---|
| 121 |  | 
|---|
| 122 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
| 123 | href="../common/binutils.xml" | 
|---|
| 124 | xpointer="xpointer(//*[@os='bh'])"/> | 
|---|
| 125 |  | 
|---|
| 126 | </sect2> | 
|---|
| 127 |  | 
|---|
| 128 | <sect2 role="content"> | 
|---|
| 129 | <title/> | 
|---|
| 130 |  | 
|---|
| 131 | <para>Details on this package are located in <xref | 
|---|
| 132 | linkend="contents-binutils" role="."/></para> | 
|---|
| 133 |  | 
|---|
| 134 | </sect2> | 
|---|
| 135 |  | 
|---|
| 136 | </sect1> | 
|---|