[ae51e2a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <!-- ARM GCC-Static -->
|
---|
| 9 |
|
---|
| 10 | <sect1 id="ch-cross-tools-gcc-static" role="wrap">
|
---|
| 11 | <?dbhtml filename="gcc-static.html"?>
|
---|
| 12 |
|
---|
[8f65e24] | 13 | <title>GCC-&gcc-version; - Static</title>
|
---|
[ae51e2a] | 14 |
|
---|
| 15 | <indexterm zone="ch-cross-tools-gcc-static">
|
---|
| 16 | <primary sortas="a-GCC">GCC</primary>
|
---|
| 17 | <secondary>cross tools, static</secondary>
|
---|
| 18 | </indexterm>
|
---|
| 19 |
|
---|
| 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../common/gcc-static.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 |
|
---|
| 26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 27 | href="../common/gcc-static.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 29 |
|
---|
[c01e552] | 30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 31 | href="../common/gcc-static.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='aa'])"/>
|
---|
| 33 |
|
---|
| 34 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 35 | href="../common/gcc-static.xml"
|
---|
| 36 | xpointer="xpointer(//*[@os='ab'])"/>
|
---|
| 37 |
|
---|
[8a77fbd] | 38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 39 | href="../common/gcc-static.xml"
|
---|
| 40 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 41 |
|
---|
| 42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 43 | href="../common/gcc-static.xml"
|
---|
| 44 | xpointer="xpointer(//*[@os='ba'])"/>
|
---|
| 45 |
|
---|
[ae51e2a] | 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 47 | href="../common/gcc-static.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 49 |
|
---|
| 50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 51 | href="../common/gcc-static.xml"
|
---|
| 52 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 53 |
|
---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 55 | href="../common/gcc-static.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 57 |
|
---|
[146587b] | 58 | <screen os="ae"><userinput>../gcc-&gcc-version;/configure \
|
---|
[54fde8f] | 59 | --prefix=${CLFS}/cross-tools \
|
---|
| 60 | --build=${CLFS_HOST} \
|
---|
| 61 | --host=${CLFS_HOST} \
|
---|
| 62 | --target=${CLFS_TARGET} \
|
---|
[94e2400] | 63 | --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \
|
---|
[54fde8f] | 64 | --disable-nls \
|
---|
| 65 | --disable-shared \
|
---|
| 66 | --without-headers \
|
---|
| 67 | --with-newlib \
|
---|
| 68 | --disable-decimal-float \
|
---|
| 69 | --disable-libgomp \
|
---|
| 70 | --disable-libmudflap \
|
---|
| 71 | --disable-libssp \
|
---|
[6368159] | 72 | --disable-libatomic \
|
---|
| 73 | --disable-libquadmath \
|
---|
[54fde8f] | 74 | --disable-threads \
|
---|
| 75 | --enable-languages=c \
|
---|
| 76 | --disable-multilib \
|
---|
[5f18bea] | 77 | --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
|
---|
| 78 | --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
|
---|
[54fde8f] | 79 | --with-arch=${CLFS_ARM_ARCH} \
|
---|
| 80 | --with-float=${CLFS_FLOAT} \
|
---|
[18d1bcd] | 81 | --with-fpu=${CLFS_FPU}</userinput></screen>
|
---|
[ae51e2a] | 82 |
|
---|
| 83 | <!-- Common configure switches for all archs -->
|
---|
| 84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 85 | href="../common/gcc-static.xml"
|
---|
| 86 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
| 87 |
|
---|
| 88 | <!-- Specific configure switches for ARM -->
|
---|
| 89 | <variablelist os="ag">
|
---|
| 90 |
|
---|
[18d1bcd] | 91 | <varlistentry os="ag2">
|
---|
| 92 | <term><parameter>--with-arch=${CLFS_ARM_ARCH}</parameter></term>
|
---|
| 93 | <listitem>
|
---|
| 94 | <para>This option sets the ARM architecture selected earlier.</para>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 | <varlistentry os="ag4">
|
---|
| 98 | <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
|
---|
| 99 | <listitem>
|
---|
| 100 | <para>This option sets the floating point mode selected earlier.</para>
|
---|
| 101 | </listitem>
|
---|
| 102 | </varlistentry>
|
---|
| 103 | <varlistentry os="ag5">
|
---|
| 104 | <term><parameter>--with-fpu=${CLFS_FPU}</parameter></term>
|
---|
| 105 | <listitem>
|
---|
| 106 | <para>This option sets the hardware floating point type selected
|
---|
| 107 | earlier. If soft floating point was selected, this value is ignored.</para>
|
---|
| 108 | </listitem>
|
---|
| 109 | </varlistentry>
|
---|
[ae51e2a] | 110 |
|
---|
| 111 | </variablelist>
|
---|
| 112 |
|
---|
| 113 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 114 | href="../common/gcc-static.xml"
|
---|
| 115 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 116 |
|
---|
| 117 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 118 | href="../common/gcc-static.xml"
|
---|
| 119 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 120 |
|
---|
| 121 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 122 | href="../common/gcc-static.xml"
|
---|
| 123 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 124 |
|
---|
| 125 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 126 | href="../common/gcc-static.xml"
|
---|
| 127 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 132 | href="../common/gcc-static.xml"
|
---|
| 133 | xpointer="xpointer(//*[@role='content'])"/>
|
---|
| 134 |
|
---|
| 135 | </sect1>
|
---|