| [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 |  | 
|---|
| [48f8316] | 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 21 | href="../../final-system/common/gcc.xml" | 
|---|
|  | 22 | xpointer="xpointer(//*[@role='package'])"/> | 
|---|
| [bf8c11f] | 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="gcc-static.xml" | 
|---|
|  | 53 | xpointer="xpointer(//*[@os='ma'])"/> | 
|---|
|  | 54 |  | 
|---|
|  | 55 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 56 | href="gcc-static.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='ag'])"/> | 
|---|
|  | 62 |  | 
|---|
|  | 63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 64 | href="gcc-static.xml" | 
|---|
|  | 65 | xpointer="xpointer(//*[@os='ah'])"/> | 
|---|
|  | 66 |  | 
|---|
|  | 67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 68 | href="gcc-static.xml" | 
|---|
|  | 69 | xpointer="xpointer(//*[@os='ai'])"/> | 
|---|
|  | 70 |  | 
|---|
|  | 71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 72 | href="gcc-static.xml" | 
|---|
|  | 73 | xpointer="xpointer(//*[@os='aj'])"/> | 
|---|
|  | 74 |  | 
|---|
|  | 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 76 | href="../x86/gcc-final.xml" | 
|---|
|  | 77 | xpointer="xpointer(//*[@os='bd'])"/> | 
|---|
|  | 78 |  | 
|---|
|  | 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 80 | href="../x86/gcc-final.xml" | 
|---|
|  | 81 | xpointer="xpointer(//*[@os='be'])"/> | 
|---|
|  | 82 |  | 
|---|
|  | 83 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 84 | href="gcc-static.xml" | 
|---|
|  | 85 | xpointer="xpointer(//*[@os='ak'])"/> | 
|---|
|  | 86 |  | 
|---|
|  | 87 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 88 | href="gcc-static.xml" | 
|---|
|  | 89 | xpointer="xpointer(//*[@os='f'])"/> | 
|---|
|  | 90 |  | 
|---|
|  | 91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 92 | href="gcc-static.xml" | 
|---|
|  | 93 | xpointer="xpointer(//*[@os='g'])"/> | 
|---|
|  | 94 |  | 
|---|
|  | 95 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 96 | href="gcc-static.xml" | 
|---|
|  | 97 | xpointer="xpointer(//*[@os='h'])"/> | 
|---|
|  | 98 |  | 
|---|
|  | 99 | <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ | 
|---|
|  | 100 | --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \ | 
|---|
|  | 101 | --with-local-prefix=/tools --disable-nls --enable-shared \ | 
|---|
|  | 102 | --enable-languages=c,c++ --enable-__cxa_atexit \ | 
|---|
|  | 103 | --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen> | 
|---|
|  | 104 |  | 
|---|
|  | 105 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" | 
|---|
|  | 106 | href="../x86/gcc-final.xml" | 
|---|
|  | 107 | xpointer="xpointer(//*[@os='bf'])"/> | 
|---|
|  | 108 |  | 
|---|
|  | 109 | <para>Continue with compiling the package:</para> | 
|---|
|  | 110 |  | 
|---|
|  | 111 | <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ | 
|---|
|  | 112 | LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> | 
|---|
|  | 113 |  | 
|---|
|  | 114 | <para>Install the package:</para> | 
|---|
|  | 115 |  | 
|---|
|  | 116 | <screen><userinput>make install</userinput></screen> | 
|---|
|  | 117 |  | 
|---|
|  | 118 | </sect2> | 
|---|
|  | 119 |  | 
|---|
|  | 120 | <sect2 role="content"> | 
|---|
|  | 121 | <title/> | 
|---|
|  | 122 |  | 
|---|
|  | 123 | <para>Details on this package are located in <xref | 
|---|
|  | 124 | linkend="contents-gcc" role="."/></para> | 
|---|
|  | 125 |  | 
|---|
|  | 126 | </sect2> | 
|---|
|  | 127 |  | 
|---|
|  | 128 | </sect1> | 
|---|