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