[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 |
|
---|
[5ec7db05] | 26 | <!--
|
---|
[4883ef5] | 27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 28 | href="../common/gcc-static.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 30 |
|
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 32 | href="../common/gcc-static.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
[5ec7db05] | 34 | -->
|
---|
[4883ef5] | 35 |
|
---|
[a9f0cdb] | 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 37 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 38 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 41 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 42 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
| 43 |
|
---|
| 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 45 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 46 | xpointer="xpointer(//*[@os='ac'])"/>
|
---|
| 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 49 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 50 | xpointer="xpointer(//*[@os='ad'])"/>
|
---|
| 51 |
|
---|
| 52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 53 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 54 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
| 55 |
|
---|
[c5146c2] | 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="../common/gcc-static.xml"
|
---|
[b7b0d5c] | 58 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
[c5146c2] | 59 |
|
---|
[3f8be484] | 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 61 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 62 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 63 |
|
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 65 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 66 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 67 |
|
---|
[562a0ae] | 68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 69 | href="../common/gcc-static.xml"
|
---|
| 70 | xpointer="xpointer(//*[@os='t1'])"/>
|
---|
| 71 |
|
---|
| 72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 73 | href="../common/gcc-static.xml"
|
---|
| 74 | xpointer="xpointer(//*[@os='t2'])"/>
|
---|
| 75 |
|
---|
[3f8be484] | 76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 77 | href="../../final-system/common/gcc.xml"
|
---|
| 78 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 79 |
|
---|
| 80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 81 | href="../../final-system/common/gcc.xml"
|
---|
| 82 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 83 |
|
---|
| 84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 85 | href="../../final-system/common/gcc.xml"
|
---|
| 86 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 87 |
|
---|
[ca9eca8d] | 88 | <screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
|
---|
[c1832da] | 89 | ../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
| 90 | --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
|
---|
| 91 | --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
|
---|
| 92 | --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
|
---|
| 93 | --without-headers --with-newlib --disable-decimal-float \
|
---|
| 94 | --disable-libgomp --disable-libmudflap --disable-libssp \
|
---|
| 95 | --disable-threads --enable-languages=c</userinput></screen>
|
---|
[3f8be484] | 96 |
|
---|
| 97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 98 | href="../common/gcc-static.xml"
|
---|
[e47ec16] | 99 | xpointer="xpointer(//*[@os='am'])"/>
|
---|
[3f8be484] | 100 |
|
---|
[0b637f1] | 101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 102 | href="../common/gcc-static.xml"
|
---|
[0b637f1] | 103 | xpointer="xpointer(//*[@os='an'])"/>
|
---|
[3f8be484] | 104 |
|
---|
[95de45a] | 105 | <screen os="s1"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 106 |
|
---|
[0b637f1] | 107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 108 | href="../common/gcc-static.xml"
|
---|
[0b637f1] | 109 | xpointer="xpointer(//*[@os='ap'])"/>
|
---|
[3f8be484] | 110 |
|
---|
[0b637f1] | 111 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 112 | href="../common/gcc-static.xml"
|
---|
[0b637f1] | 113 | xpointer="xpointer(//*[@os='aq'])"/>
|
---|
[3f8be484] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="content">
|
---|
| 118 | <title/>
|
---|
| 119 |
|
---|
| 120 | <para>Details on this package are located in <xref
|
---|
| 121 | linkend="contents-gcc" role="."/></para>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | </sect1>
|
---|