[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 |
|
---|
[dabbced] | 26 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 27 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 28 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 29 |
|
---|
[dabbced] | 30 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 31 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 32 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
| 33 |
|
---|
[dabbced] | 34 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 35 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 36 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
| 37 |
|
---|
[dabbced] | 38 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[c5146c2] | 39 | href="../common/gcc-static.xml"
|
---|
[b7b0d5c] | 40 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
[c5146c2] | 41 |
|
---|
[dabbced] | 42 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[562a0ae] | 43 | href="../common/gcc-static.xml"
|
---|
| 44 | xpointer="xpointer(//*[@os='t1'])"/>
|
---|
| 45 |
|
---|
[dabbced] | 46 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[562a0ae] | 47 | href="../common/gcc-static.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='t2'])"/>
|
---|
| 49 |
|
---|
[dabbced] | 50 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 51 | href="../../final-system/common/gcc.xml"
|
---|
| 52 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 53 |
|
---|
[dabbced] | 54 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 55 | href="../../final-system/common/gcc.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 57 |
|
---|
[dabbced] | 58 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 59 | href="../../final-system/common/gcc.xml"
|
---|
| 60 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 61 |
|
---|
[ca9eca8d] | 62 | <screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
|
---|
[c1832da] | 63 | ../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
| 64 | --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
|
---|
[4dbd276] | 65 | --with-sysroot=${CLFS} --with-local-prefix=/tools \
|
---|
| 66 | --with-native-system-header-dir=/tools/include --disable-nls \
|
---|
| 67 | --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
|
---|
| 68 | --with-cloog=/cross-tools --with-mpc=/cross-tools --without-headers \
|
---|
| 69 | --with-newlib --disable-decimal-float --disable-libgomp --disable-libmudflap \
|
---|
| 70 | --disable-libssp --disable-threads --disable-libatomic --disable-libitm \
|
---|
| 71 | --disable-libsanitizer --disable-libquadmath --disable-target-libiberty \
|
---|
| 72 | --disable-target-zlib --with-system-zlib --enable-cloog-backend=isl \
|
---|
[3c54c0a] | 73 | --with-isl=/cross-tools --disable-isl-version-check --enable-languages=c \
|
---|
| 74 | --enable-checking=release</userinput></screen>
|
---|
[3f8be484] | 75 |
|
---|
[dabbced] | 76 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 77 | href="../common/gcc-static.xml"
|
---|
[e47ec16] | 78 | xpointer="xpointer(//*[@os='am'])"/>
|
---|
[3f8be484] | 79 |
|
---|
[dabbced] | 80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 81 | href="../common/gcc-static.xml"
|
---|
[0b637f1] | 82 | xpointer="xpointer(//*[@os='an'])"/>
|
---|
[3f8be484] | 83 |
|
---|
[dabbced] | 84 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3084543] | 85 | href="../common/gcc-static.xml"
|
---|
| 86 | xpointer="xpointer(//*[@os='ao'])"/>
|
---|
[3f8be484] | 87 |
|
---|
[dabbced] | 88 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 89 | href="../common/gcc-static.xml"
|
---|
[0b637f1] | 90 | xpointer="xpointer(//*[@os='ap'])"/>
|
---|
[3f8be484] | 91 |
|
---|
[dabbced] | 92 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 93 | href="../common/gcc-static.xml"
|
---|
[0b637f1] | 94 | xpointer="xpointer(//*[@os='aq'])"/>
|
---|
[3f8be484] | 95 |
|
---|
[d755bc7] | 96 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 97 | href="../common/gcc-static.xml"
|
---|
| 98 | xpointer="xpointer(//*[@os='ar'])"/>
|
---|
| 99 |
|
---|
[3f8be484] | 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="content">
|
---|
| 103 | <title/>
|
---|
| 104 |
|
---|
| 105 | <para>Details on this package are located in <xref
|
---|
| 106 | linkend="contents-gcc" role="."/></para>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | </sect1>
|
---|