[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 |
|
---|
[cc858ed] | 26 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 27 | href="../../final-system/common/gcc.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 29 |
|
---|
| 30 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 31 | href="../../final-system/common/gcc.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 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='aa'])"/>
|
---|
| 37 |
|
---|
[dabbced] | 38 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[c1832da] | 39 | href="../64/gcc-static.xml"
|
---|
[d55f00bc] | 40 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
[3f8be484] | 41 |
|
---|
[dabbced] | 42 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[c5146c2] | 43 | href="../common/gcc-static.xml"
|
---|
[b7b0d5c] | 44 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
[c5146c2] | 45 |
|
---|
[dabbced] | 46 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 47 | href="../common/gcc-static.xml"
|
---|
[3f8be484] | 48 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 49 |
|
---|
[dabbced] | 50 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[562a0ae] | 51 | href="../common/gcc-static.xml"
|
---|
| 52 | xpointer="xpointer(//*[@os='t1'])"/>
|
---|
| 53 |
|
---|
[dabbced] | 54 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[562a0ae] | 55 | href="../common/gcc-static.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='t2'])"/>
|
---|
| 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='f'])"/>
|
---|
| 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='g'])"/>
|
---|
| 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='h'])"/>
|
---|
| 69 |
|
---|
[88958a8] | 70 | <screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
|
---|
[c1832da] | 71 | ../gcc-&gcc-version;/configure --prefix=/cross-tools \
|
---|
| 72 | --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
|
---|
[fece632] | 73 | --with-sysroot=${CLFS} --with-local-prefix=/tools \
|
---|
| 74 | --with-native-system-header-dir=/tools/include --disable-nls \
|
---|
| 75 | --enable-shared --disable-static --enable-languages=c,c++ \
|
---|
| 76 | --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \
|
---|
| 77 | --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools \
|
---|
| 78 | --with-gmp=/cross-tools --with-cloog=/cross-tools --enable-cloog-backend=isl \
|
---|
| 79 | --with-isl=/cross-tools --disable-isl-version-check --with-system-zlib \
|
---|
| 80 | --enable-checking=release --enable-libstdcxx-time --with-abi=64</userinput></screen>
|
---|
[3f8be484] | 81 |
|
---|
[dabbced] | 82 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 83 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 84 | xpointer="xpointer(//*[@os='am'])"/>
|
---|
[3f8be484] | 85 |
|
---|
[dabbced] | 86 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 87 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 88 | xpointer="xpointer(//*[@os='an'])"/>
|
---|
[3f8be484] | 89 |
|
---|
[dabbced] | 90 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 91 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 92 | xpointer="xpointer(//*[@os='ao'])"/>
|
---|
[3f8be484] | 93 |
|
---|
[dabbced] | 94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 95 | href="../common/gcc-static.xml"
|
---|
[d55f00bc] | 96 | xpointer="xpointer(//*[@os='ap'])"/>
|
---|
[3f8be484] | 97 |
|
---|
[dabbced] | 98 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a9f0cdb] | 99 | href="../common/gcc-static.xml"
|
---|
[9cfaa38] | 100 | xpointer="xpointer(//*[@os='aq'])"/>
|
---|
| 101 |
|
---|
[d755bc7] | 102 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 103 | href="../common/gcc-static.xml"
|
---|
| 104 | xpointer="xpointer(//*[@os='ar'])"/>
|
---|
| 105 |
|
---|
[3d66e17] | 106 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 107 | href="../common/gcc-static.xml"
|
---|
| 108 | xpointer="xpointer(//*[@os='as'])"/>
|
---|
| 109 |
|
---|
| 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 111 | href="../common/gcc-static.xml"
|
---|
| 112 | xpointer="xpointer(//*[@os='at'])"/>
|
---|
| 113 |
|
---|
[3f8be484] | 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="content">
|
---|
| 117 | <title/>
|
---|
| 118 |
|
---|
| 119 | <para>Details on this package are located in <xref
|
---|
| 120 | linkend="contents-gcc" role="."/></para>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | </sect1>
|
---|