[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 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-cross-tools-gcc-static" role="wrap">
|
---|
| 9 | <?dbhtml filename="gcc-static.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Cross GCC-&gcc-version; - Static</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-cross-tools-gcc-static">
|
---|
| 14 | <primary sortas="a-GCC">GCC</primary>
|
---|
| 15 | <secondary>cross tools, static</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
[cf66ceae] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/common/gcc.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Cross GCC Compiler with Static libgcc
|
---|
| 24 | and no Threads</title>
|
---|
| 25 |
|
---|
| 26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 27 | href="../x86/gcc-static.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 29 |
|
---|
| 30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 31 | href="../x86/gcc-static.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
| 33 |
|
---|
| 34 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 35 | href="../x86/gcc-static.xml"
|
---|
| 36 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
| 37 |
|
---|
| 38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 39 | href="../x86/gcc-static.xml"
|
---|
| 40 | xpointer="xpointer(//*[@os='ad'])"/>
|
---|
| 41 |
|
---|
| 42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 43 | href="../x86/gcc-static.xml"
|
---|
| 44 | xpointer="xpointer(//*[@os='ae'])"/>
|
---|
| 45 |
|
---|
| 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 47 | href="../x86/gcc-static.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
| 49 |
|
---|
| 50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 51 | href="../../final-system/mips/gcc.xml"
|
---|
| 52 | xpointer="xpointer(//*[@os='ma'])"/>
|
---|
| 53 |
|
---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 55 | href="../../final-system/mips/gcc.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='mb'])"/>
|
---|
| 57 |
|
---|
| 58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 59 | href="../x86/gcc-static.xml"
|
---|
| 60 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
| 61 |
|
---|
| 62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 63 | href="../x86/gcc-static.xml"
|
---|
| 64 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 67 | href="../x86/gcc-static.xml"
|
---|
| 68 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 71 | href="../x86/gcc-static.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 73 |
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 75 | href="../x86/gcc-static.xml"
|
---|
| 76 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 79 | href="../../final-system/common/gcc.xml"
|
---|
| 80 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 81 |
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 83 | href="../../final-system/common/gcc.xml"
|
---|
| 84 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 85 |
|
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 87 | href="../../final-system/common/gcc.xml"
|
---|
| 88 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
| 91 | --host=${LFS_HOST} --target=${LFS_TARGET} \
|
---|
| 92 | --with-local-prefix=/tools --disable-nls --disable-shared \
|
---|
| 93 | --disable-threads --enable-languages=c</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 96 | href="../x86/gcc-static.xml"
|
---|
| 97 | xpointer="xpointer(//*[@os='al'])"/>
|
---|
| 98 |
|
---|
| 99 | <para>Continue with compiling the package:</para>
|
---|
| 100 |
|
---|
| 101 | <screen><userinput>make all-gcc</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>Install the package:</para>
|
---|
| 104 |
|
---|
| 105 | <screen><userinput>make install-gcc</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="content">
|
---|
| 110 | <title/>
|
---|
| 111 |
|
---|
| 112 | <para>Details on this package are located in <xref
|
---|
| 113 | linkend="contents-gcc" role="."/></para>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | </sect1>
|
---|