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