[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-temp-system-gcc" role="wrap"> |
---|
| 9 | <?dbhtml filename="gcc.html"?> |
---|
| 10 | |
---|
| 11 | <title>GCC-&gcc-version;</title> |
---|
| 12 | |
---|
| 13 | <indexterm zone="ch-temp-system-gcc"> |
---|
| 14 | <primary sortas="a-GCC">GCC</primary> |
---|
| 15 | <secondary>temporary system</secondary> |
---|
| 16 | </indexterm> |
---|
| 17 | |
---|
[64b1923] | 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 GCC</title> |
---|
| 24 | |
---|
[5ec7db05] | 25 | <!-- |
---|
[4883ef5] | 26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[c1832da] | 27 | href="../../cross-tools/64/gcc-static.xml" |
---|
[4883ef5] | 28 | xpointer="xpointer(//*[@os='p1'])"/> |
---|
| 29 | |
---|
| 30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[c1832da] | 31 | href="../../cross-tools/64/gcc-static.xml" |
---|
[4883ef5] | 32 | xpointer="xpointer(//*[@os='p2'])"/> |
---|
[5ec7db05] | 33 | --> |
---|
[4883ef5] | 34 | |
---|
[d4bb6ba] | 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[c1832da] | 36 | href="../../cross-tools/64/gcc-static.xml" |
---|
[3f8be484] | 37 | xpointer="xpointer(//*[@os='aa'])"/> |
---|
| 38 | |
---|
| 39 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[c1832da] | 40 | href="../../cross-tools/64/gcc-static.xml" |
---|
[3f8be484] | 41 | xpointer="xpointer(//*[@os='ab'])"/> |
---|
| 42 | |
---|
| 43 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[c1832da] | 44 | href="../../cross-tools/64/gcc-static.xml" |
---|
[3f8be484] | 45 | xpointer="xpointer(//*[@os='ac'])"/> |
---|
| 46 | |
---|
| 47 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[c1832da] | 48 | href="../../cross-tools/64/gcc-static.xml" |
---|
[3f8be484] | 49 | xpointer="xpointer(//*[@os='ad'])"/> |
---|
| 50 | |
---|
[384af06] | 51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 52 | href="../../cross-tools/64/gcc-static.xml" |
---|
| 53 | xpointer="xpointer(//*[@os='ag'])"/> |
---|
| 54 | |
---|
| 55 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 56 | href="../../cross-tools/64/gcc-static.xml" |
---|
| 57 | xpointer="xpointer(//*[@os='ah'])"/> |
---|
| 58 | |
---|
[3f8be484] | 59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[a9f0cdb] | 60 | href="../common/gcc.xml" |
---|
[3f8be484] | 61 | xpointer="xpointer(//*[@os='cf'])"/> |
---|
| 62 | |
---|
| 63 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[a9f0cdb] | 64 | href="../common/gcc.xml" |
---|
[3f8be484] | 65 | xpointer="xpointer(//*[@os='cg'])"/> |
---|
| 66 | |
---|
| 67 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 68 | href="../../final-system/common/gcc.xml" |
---|
| 69 | xpointer="xpointer(//*[@os='f'])"/> |
---|
| 70 | |
---|
| 71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 72 | href="../../final-system/common/gcc.xml" |
---|
| 73 | xpointer="xpointer(//*[@os='g'])"/> |
---|
| 74 | |
---|
| 75 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[a9f0cdb] | 76 | href="../common/gcc.xml" |
---|
[3f8be484] | 77 | xpointer="xpointer(//*[@os='cj'])"/> |
---|
| 78 | |
---|
| 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 80 | href="../../final-system/common/gcc.xml" |
---|
| 81 | xpointer="xpointer(//*[@os='h'])"/> |
---|
| 82 | |
---|
[d55f00bc] | 83 | <screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ |
---|
[3f8be484] | 84 | ../gcc-&gcc-version;/configure --prefix=/tools --disable-multilib \ |
---|
[07114c98] | 85 | --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \ |
---|
[3f8be484] | 86 | --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \ |
---|
[d018b81] | 87 | --enable-c99 --enable-shared --enable-threads=posix --disable-nls \ |
---|
| 88 | --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> |
---|
[3f8be484] | 89 | |
---|
| 90 | <variablelist> |
---|
| 91 | <title>The meaning of the new configure options:</title> |
---|
| 92 | |
---|
| 93 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[c1832da] | 94 | href="../multilib/gcc.xml" |
---|
[d55f00bc] | 95 | xpointer="xpointer(//*[@os='dd1'])"/> |
---|
[3f8be484] | 96 | |
---|
| 97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[a9f0cdb] | 98 | href="../common/gcc.xml" |
---|
[d55f00bc] | 99 | xpointer="xpointer(//*[@os='cl1'])"/> |
---|
[3f8be484] | 100 | |
---|
| 101 | </variablelist> |
---|
| 102 | |
---|
[d55f00bc] | 103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[a9f0cdb] | 104 | href="../common/gcc.xml" |
---|
[d55f00bc] | 105 | xpointer="xpointer(//*[@os='cm'])"/> |
---|
[3f8be484] | 106 | |
---|
[d55f00bc] | 107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[a9f0cdb] | 108 | href="../common/gcc.xml" |
---|
[d55f00bc] | 109 | xpointer="xpointer(//*[@os='cn'])"/> |
---|
[3f8be484] | 110 | |
---|
[d55f00bc] | 111 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[a9f0cdb] | 112 | href="../common/gcc.xml" |
---|
[d55f00bc] | 113 | xpointer="xpointer(//*[@os='co'])"/> |
---|
[3f8be484] | 114 | |
---|
[d55f00bc] | 115 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
[a9f0cdb] | 116 | href="../common/gcc.xml" |
---|
[d55f00bc] | 117 | xpointer="xpointer(//*[@os='cp'])"/> |
---|
[3f8be484] | 118 | |
---|
[d55f00bc] | 119 | <para os="dp">Now we copy the files that are placed in <filename class="directory">/tools/lib64 |
---|
[3f8be484] | 120 | </filename> to <filename class="directory">/tools/lib</filename>. |
---|
| 121 | We also delete the /tools/lib64 directory:</para> |
---|
| 122 | |
---|
[4462e59] | 123 | <screen os="dq"><userinput>cp -va /tools/lib64/* /tools/lib |
---|
[0b637f1] | 124 | rm -rvf /tools/lib64</userinput></screen> |
---|
[3f8be484] | 125 | |
---|
| 126 | </sect2> |
---|
| 127 | |
---|
| 128 | <sect2 role="content"> |
---|
| 129 | <title/> |
---|
| 130 | |
---|
| 131 | <para>Details on this package are located in <xref |
---|
| 132 | linkend="contents-gcc" role="."/></para> |
---|
| 133 | |
---|
| 134 | </sect2> |
---|
| 135 | |
---|
| 136 | </sect1> |
---|