[3f8be484] | 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 |
|
---|
[cf66ceae] | 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../../final-system/common/gcc.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of GCC Cross Compiler</title>
|
---|
| 26 |
|
---|
| 27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 28 | href="gcc-static.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 30 |
|
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 32 | href="gcc-static.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
| 34 |
|
---|
| 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 36 | href="gcc-static.xml"
|
---|
| 37 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
| 38 |
|
---|
| 39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 40 | href="gcc-static.xml"
|
---|
| 41 | xpointer="xpointer(//*[@os='ad'])"/>
|
---|
| 42 |
|
---|
| 43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 44 | href="gcc-static.xml"
|
---|
| 45 | xpointer="xpointer(//*[@os='ae'])"/>
|
---|
| 46 |
|
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 48 | href="gcc-static.xml"
|
---|
| 49 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
| 50 |
|
---|
| 51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 52 | href="../../final-system/mips/gcc.xml"
|
---|
| 53 | xpointer="xpointer(//*[@os='ma'])"/>
|
---|
| 54 |
|
---|
| 55 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 56 | href="../../final-system/mips/gcc.xml"
|
---|
| 57 | xpointer="xpointer(//*[@os='mb'])"/>
|
---|
| 58 |
|
---|
| 59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 60 | href="gcc-static.xml"
|
---|
| 61 | xpointer="xpointer(//*[@os='al'])"/>
|
---|
| 62 |
|
---|
| 63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 64 | href="gcc-static.xml"
|
---|
| 65 | xpointer="xpointer(//*[@os='am'])"/>
|
---|
| 66 |
|
---|
| 67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 68 | href="gcc-static.xml"
|
---|
| 69 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
| 70 |
|
---|
| 71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 72 | href="gcc-static.xml"
|
---|
| 73 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 74 |
|
---|
| 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 76 | href="gcc-static.xml"
|
---|
| 77 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 78 |
|
---|
| 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 80 | href="gcc-static.xml"
|
---|
| 81 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 82 |
|
---|
| 83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 84 | href="../x86/gcc-final.xml"
|
---|
| 85 | xpointer="xpointer(//*[@os='bd'])"/>
|
---|
| 86 |
|
---|
| 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 88 | href="../x86/gcc-final.xml"
|
---|
| 89 | xpointer="xpointer(//*[@os='be'])"/>
|
---|
| 90 |
|
---|
| 91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 92 | href="gcc-static.xml"
|
---|
| 93 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
| 94 |
|
---|
| 95 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 96 | href="gcc-static.xml"
|
---|
| 97 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 98 |
|
---|
| 99 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 100 | href="gcc-static.xml"
|
---|
| 101 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 102 |
|
---|
| 103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 104 | href="gcc-static.xml"
|
---|
| 105 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
| 108 | --target=${LFS_TARGET} --host=${LFS_HOST} --with-abi=64 \
|
---|
| 109 | --with-local-prefix=/tools --disable-nls --enable-shared \
|
---|
| 110 | --enable-languages=c,c++ --enable-__cxa_atexit --disable-multilib \
|
---|
| 111 | --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>
|
---|
| 112 |
|
---|
| 113 | <variablelist>
|
---|
| 114 | <title>The meaning of the new configure options:</title>
|
---|
| 115 |
|
---|
| 116 | <varlistentry>
|
---|
| 117 | <term><parameter>--with-abi=64</parameter></term>
|
---|
| 118 | <listitem>
|
---|
| 119 | <para>This option do ...</para>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
| 122 |
|
---|
| 123 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 124 | href="../x86/gcc-final.xml"
|
---|
| 125 | xpointer="xpointer(//*[@os='bf1'])"/>
|
---|
| 126 |
|
---|
| 127 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 128 | href="../x86/gcc-final.xml"
|
---|
| 129 | xpointer="xpointer(//*[@os='bf2'])"/>
|
---|
| 130 |
|
---|
| 131 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 132 | href="../x86/gcc-final.xml"
|
---|
| 133 | xpointer="xpointer(//*[@os='bf3'])"/>
|
---|
| 134 |
|
---|
| 135 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 136 | href="../x86/gcc-final.xml"
|
---|
| 137 | xpointer="xpointer(//*[@os='bf4'])"/>
|
---|
| 138 |
|
---|
| 139 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 140 | href="../x86/gcc-final.xml"
|
---|
| 141 | xpointer="xpointer(//*[@os='bf5'])"/>
|
---|
| 142 |
|
---|
| 143 | </variablelist>
|
---|
| 144 |
|
---|
| 145 | <para>Continue with compiling the package:</para>
|
---|
| 146 |
|
---|
| 147 | <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \
|
---|
| 148 | LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen>
|
---|
| 149 |
|
---|
| 150 | <para>Install the package:</para>
|
---|
| 151 |
|
---|
| 152 | <screen><userinput>make install</userinput></screen>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="content">
|
---|
| 157 | <title/>
|
---|
| 158 |
|
---|
| 159 | <para>Details on this package are located in <xref
|
---|
| 160 | linkend="contents-gcc" role="."/></para>
|
---|
| 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | </sect1>
|
---|