[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 |
|
---|
[4883ef5] | 26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 27 | href="../common/gcc-static.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 29 |
|
---|
| 30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 31 | href="../x86_64-64/gcc-static.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 33 |
|
---|
[a9f0cdb] | 34 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 35 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 36 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 37 |
|
---|
[d55f00bc] | 38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 39 | href="../x86_64-64/gcc-static.xml"
|
---|
| 40 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
[3f8be484] | 41 |
|
---|
| 42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 43 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 44 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
| 45 |
|
---|
| 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 47 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 48 | xpointer="xpointer(//*[@os='ad'])"/>
|
---|
| 49 |
|
---|
[d55f00bc] | 50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 51 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 52 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
[3f8be484] | 53 |
|
---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 55 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 56 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 57 |
|
---|
| 58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 59 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 60 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 61 |
|
---|
| 62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 63 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 64 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 67 | href="../../final-system/common/gcc.xml"
|
---|
| 68 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 71 | href="../../final-system/common/gcc.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 73 |
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 75 | href="../../final-system/common/gcc.xml"
|
---|
| 76 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 77 |
|
---|
[88958a8] | 78 | <screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
|
---|
| 79 | ../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
[6a043e2] | 80 | --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
|
---|
[0f75f52] | 81 | --disable-multilib --with-local-prefix=/tools --disable-nls \
|
---|
[6a043e2] | 82 | --without-headers --with-newlib --disable-decimal-float \
|
---|
[88958a8] | 83 | --with-mpfr=/cross-tools --with-gmp=/cross-tools \
|
---|
[6a043e2] | 84 | --disable-libgomp --disable-libmudflap --disable-libssp \
|
---|
| 85 | --disable-shared --disable-threads --enable-languages=c \
|
---|
| 86 | --with-abi=64</userinput></screen>
|
---|
[3f8be484] | 87 |
|
---|
| 88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 89 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 90 | xpointer="xpointer(//*[@os='am'])"/>
|
---|
[3f8be484] | 91 |
|
---|
[d55f00bc] | 92 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 93 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 94 | xpointer="xpointer(//*[@os='an'])"/>
|
---|
[3f8be484] | 95 |
|
---|
[d55f00bc] | 96 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 97 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 98 | xpointer="xpointer(//*[@os='ao'])"/>
|
---|
[3f8be484] | 99 |
|
---|
[d55f00bc] | 100 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 101 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 102 | xpointer="xpointer(//*[@os='ap'])"/>
|
---|
[3f8be484] | 103 |
|
---|
[9cfaa38] | 104 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 105 | href="../common/gcc-static.xml"
|
---|
[9cfaa38] | 106 | xpointer="xpointer(//*[@os='aq'])"/>
|
---|
| 107 |
|
---|
[3f8be484] | 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="content">
|
---|
| 111 | <title/>
|
---|
| 112 |
|
---|
| 113 | <para>Details on this package are located in <xref
|
---|
| 114 | linkend="contents-gcc" role="."/></para>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | </sect1>
|
---|