[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-cross-tools-gcc-final" role="wrap">
|
---|
| 11 | <?dbhtml filename="gcc-final.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>GCC-&gcc-version; - Cross Compiler Final</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-cross-tools-gcc-final">
|
---|
| 16 | <primary sortas="a-GCC">GCC</primary>
|
---|
| 17 | <secondary>cross tools, final</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/gcc.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/gcc.xml"
|
---|
| 39 | xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
|
---|
| 40 |
|
---|
| 41 | </sect2>
|
---|
| 42 |
|
---|
| 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of GCC Cross Compiler</title>
|
---|
| 45 |
|
---|
| 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 47 | href="gcc-static.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 49 |
|
---|
| 50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 51 | href="gcc-static.xml"
|
---|
| 52 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
| 53 |
|
---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 55 | href="gcc-static.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
| 57 |
|
---|
| 58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 59 | href="gcc-static.xml"
|
---|
| 60 | xpointer="xpointer(//*[@os='ad'])"/>
|
---|
| 61 |
|
---|
| 62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 63 | href="gcc-static.xml"
|
---|
| 64 | xpointer="xpointer(//*[@os='ae'])"/>
|
---|
| 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 67 | href="gcc-static.xml"
|
---|
| 68 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
| 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 71 | href="gcc-static.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='ma'])"/>
|
---|
| 73 |
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 75 | href="gcc-static.xml"
|
---|
| 76 | xpointer="xpointer(//*[@os='mb'])"/>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 79 | href="gcc-static.xml"
|
---|
| 80 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
| 81 |
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 83 | href="gcc-static.xml"
|
---|
| 84 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 85 |
|
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 87 | href="gcc-static.xml"
|
---|
| 88 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 89 |
|
---|
| 90 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 91 | href="gcc-static.xml"
|
---|
| 92 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 93 |
|
---|
| 94 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 95 | href="../x86/gcc-final.xml"
|
---|
| 96 | xpointer="xpointer(//*[@os='ba'])"/>
|
---|
| 97 |
|
---|
| 98 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 99 | href="../x86/gcc-final.xml"
|
---|
| 100 | xpointer="xpointer(//*[@os='bc'])"/>
|
---|
| 101 |
|
---|
| 102 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 103 | href="../x86/gcc-final.xml"
|
---|
| 104 | xpointer="xpointer(//*[@os='bd'])"/>
|
---|
| 105 |
|
---|
| 106 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 107 | href="../x86/gcc-final.xml"
|
---|
| 108 | xpointer="xpointer(//*[@os='be'])"/>
|
---|
| 109 |
|
---|
| 110 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 111 | href="gcc-static.xml"
|
---|
| 112 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
| 113 |
|
---|
| 114 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 115 | href="gcc-static.xml"
|
---|
| 116 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 117 |
|
---|
| 118 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 119 | href="gcc-static.xml"
|
---|
| 120 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 121 |
|
---|
| 122 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 123 | href="gcc-static.xml"
|
---|
| 124 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 125 |
|
---|
| 126 | <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
| 127 | --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \
|
---|
| 128 | --with-local-prefix=/tools --disable-nls --enable-shared \
|
---|
| 129 | --enable-languages=c,c++ --enable-__cxa_atexit \
|
---|
| 130 | --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 133 | href="../x86/gcc-final.xml"
|
---|
| 134 | xpointer="xpointer(//*[@os='bf'])"/>
|
---|
| 135 |
|
---|
| 136 | <para>Continue with compiling the package:</para>
|
---|
| 137 |
|
---|
| 138 | <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \
|
---|
| 139 | LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen>
|
---|
| 140 |
|
---|
| 141 | <para>Install the package:</para>
|
---|
| 142 |
|
---|
| 143 | <screen><userinput>make install</userinput></screen>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="content">
|
---|
| 148 | <title/>
|
---|
| 149 |
|
---|
| 150 | <para>Details on this package are located in <xref
|
---|
| 151 | linkend="contents-gcc" role="."/></para>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | </sect1>
|
---|