[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 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cf66ceae] | 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 |
|
---|
[9e0069f] | 26 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 27 | href="../common/gcc-static.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 29 |
|
---|
[a55f9e7] | 30 | <!--GCC Branch Update Area
|
---|
[cc858ed] | 31 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 32 | href="../../final-system/common/gcc.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 34 |
|
---|
| 35 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 36 | href="../../final-system/common/gcc.xml"
|
---|
| 37 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
[a55f9e7] | 38 | -->
|
---|
[cc858ed] | 39 |
|
---|
[dabbced] | 40 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 41 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 42 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 43 |
|
---|
[dabbced] | 44 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[c1832da] | 45 | href="../64/gcc-static.xml"
|
---|
[d55f00bc] | 46 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
[3f8be484] | 47 |
|
---|
[dabbced] | 48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[c5146c2] | 49 | href="../common/gcc-static.xml"
|
---|
[b7b0d5c] | 50 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
[c5146c2] | 51 |
|
---|
[dabbced] | 52 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 53 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 54 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 55 |
|
---|
[dabbced] | 56 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[562a0ae] | 57 | href="../common/gcc-static.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='t1'])"/>
|
---|
| 59 |
|
---|
[dabbced] | 60 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[562a0ae] | 61 | href="../common/gcc-static.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='t2'])"/>
|
---|
| 63 |
|
---|
[dabbced] | 64 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 65 | href="../../final-system/common/gcc.xml"
|
---|
| 66 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 67 |
|
---|
[dabbced] | 68 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 69 | href="../../final-system/common/gcc.xml"
|
---|
| 70 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 71 |
|
---|
[dabbced] | 72 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 73 | href="../../final-system/common/gcc.xml"
|
---|
| 74 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 75 |
|
---|
[b27081c4] | 76 | <screen os="al"><userinput>AR=ar \
|
---|
| 77 | LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
|
---|
| 78 | ../gcc-&gcc-version;/configure \
|
---|
| 79 | --prefix=/cross-tools \
|
---|
| 80 | --build=${CLFS_HOST} \
|
---|
| 81 | --host=${CLFS_HOST} \
|
---|
| 82 | --target=${CLFS_TARGET} \
|
---|
| 83 | --with-sysroot=${CLFS} \
|
---|
| 84 | --with-local-prefix=/tools \
|
---|
| 85 | --with-native-system-header-dir=/tools/include \
|
---|
| 86 | --disable-shared \
|
---|
| 87 | --with-mpfr=/cross-tools \
|
---|
| 88 | --with-gmp=/cross-tools \
|
---|
| 89 | --with-isl=/cross-tools \
|
---|
| 90 | --with-mpc=/cross-tools \
|
---|
| 91 | --without-headers \
|
---|
| 92 | --with-newlib \
|
---|
| 93 | --disable-decimal-float \
|
---|
| 94 | --disable-libgomp \
|
---|
| 95 | --disable-libssp \
|
---|
| 96 | --disable-libatomic \
|
---|
| 97 | --disable-libitm \
|
---|
| 98 | --disable-libsanitizer \
|
---|
| 99 | --disable-libquadmath \
|
---|
| 100 | --disable-libvtv \
|
---|
| 101 | --disable-libcilkrts \
|
---|
| 102 | --disable-libcilkrts \
|
---|
| 103 | --disable-threads \
|
---|
| 104 | --disable-multilib \
|
---|
| 105 | --with-system-zlib \
|
---|
| 106 | --enable-languages=c \
|
---|
| 107 | --with-abi=64 \
|
---|
[cc49a21] | 108 | --with-glibc-version=&glibc-version;</userinput></screen>
|
---|
[3f8be484] | 109 |
|
---|
[dabbced] | 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 111 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 112 | xpointer="xpointer(//*[@os='am'])"/>
|
---|
[3f8be484] | 113 |
|
---|
[dabbced] | 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 115 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 116 | xpointer="xpointer(//*[@os='an'])"/>
|
---|
[3f8be484] | 117 |
|
---|
[dabbced] | 118 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 119 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 120 | xpointer="xpointer(//*[@os='ao'])"/>
|
---|
[3f8be484] | 121 |
|
---|
[dabbced] | 122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 123 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 124 | xpointer="xpointer(//*[@os='ap'])"/>
|
---|
[3f8be484] | 125 |
|
---|
[dabbced] | 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 127 | href="../common/gcc-static.xml"
|
---|
[9cfaa38] | 128 | xpointer="xpointer(//*[@os='aq'])"/>
|
---|
| 129 |
|
---|
[d755bc7] | 130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 131 | href="../common/gcc-static.xml"
|
---|
| 132 | xpointer="xpointer(//*[@os='ar'])"/>
|
---|
| 133 |
|
---|
[3f8be484] | 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="content">
|
---|
| 137 | <title/>
|
---|
| 138 |
|
---|
| 139 | <para>Details on this package are located in <xref
|
---|
| 140 | linkend="contents-gcc" role="."/></para>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | </sect1>
|
---|