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