[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/multilib/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/multilib/gcc-static.xml"
|
---|
[4883ef5] | 32 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
[5ec7db05] | 33 | -->
|
---|
[4883ef5] | 34 |
|
---|
[3f8be484] | 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[c1832da] | 36 | href="../../cross-tools/multilib/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/multilib/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/multilib/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/multilib/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/multilib/gcc-static.xml"
|
---|
| 53 | xpointer="xpointer(//*[@os='ag'])"/>
|
---|
| 54 |
|
---|
| 55 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 56 | href="../../cross-tools/multilib/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="dc"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
|
---|
[c1832da] | 84 | ../gcc-&gcc-version;/configure --prefix=/tools \
|
---|
| 85 | --libdir=/tools/lib64 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[384af06] | 86 | --target=${CLFS_TARGET} --with-local-prefix=/tools --enable-long-long \
|
---|
| 87 | --enable-c99 --enable-shared --enable-threads=posix \
|
---|
[c1832da] | 88 | --enable-__cxa_atexit --disable-nls --enable-languages=c,c++ \
|
---|
| 89 | --disable-libstdcxx-pch</userinput></screen>
|
---|
[3f8be484] | 90 |
|
---|
[d55f00bc] | 91 | <variablelist os="dd">
|
---|
[3f8be484] | 92 | <title>The meaning of the new configure options:</title>
|
---|
| 93 |
|
---|
[d55f00bc] | 94 | <varlistentry os="dd1">
|
---|
[3f8be484] | 95 | <term><parameter>CXX="${CXX} ${BUILD64}"</parameter></term>
|
---|
| 96 | <listitem>
|
---|
[040521bc] | 97 | <para>This forces the C++ compiler to use our 64 Bit flags.</para>
|
---|
[3f8be484] | 98 | </listitem>
|
---|
| 99 | </varlistentry>
|
---|
| 100 |
|
---|
| 101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 102 | href="../common/gcc.xml"
|
---|
[9456aee] | 103 | xpointer="xpointer(//*[@os='cl1'])"/>
|
---|
[3f8be484] | 104 |
|
---|
| 105 | </variablelist>
|
---|
| 106 |
|
---|
[d55f00bc] | 107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 108 | href="../common/gcc.xml"
|
---|
[d55f00bc] | 109 | xpointer="xpointer(//*[@os='cm'])"/>
|
---|
[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='cn'])"/>
|
---|
[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='co'])"/>
|
---|
[3f8be484] | 118 |
|
---|
[d55f00bc] | 119 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[a9f0cdb] | 120 | href="../common/gcc.xml"
|
---|
[d55f00bc] | 121 | xpointer="xpointer(//*[@os='cp'])"/>
|
---|
[3f8be484] | 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="content">
|
---|
| 126 | <title/>
|
---|
| 127 |
|
---|
| 128 | <para>Details on this package are located in <xref
|
---|
| 129 | linkend="contents-gcc" role="."/></para>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | </sect1>
|
---|