[b7f5467] | 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 |
|
---|
[ae51e2a] | 8 | <!-- x86 GCC-Static -->
|
---|
| 9 |
|
---|
[b7f5467] | 10 | <sect1 id="ch-cross-tools-gcc-static" role="wrap">
|
---|
| 11 | <?dbhtml filename="gcc-static.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>Cross GCC-&gcc-version; - Static</title>
|
---|
| 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 |
|
---|
[ae51e2a] | 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../common/gcc-static.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[b7f5467] | 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
[ae51e2a] | 25 |
|
---|
| 26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 27 | href="../common/gcc-static.xml"
|
---|
| 28 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
[b7f5467] | 29 |
|
---|
[8a77fbd] | 30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 31 | href="../common/gcc-static.xml"
|
---|
| 32 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 33 |
|
---|
| 34 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 35 | href="../common/gcc-static.xml"
|
---|
| 36 | xpointer="xpointer(//*[@os='ba'])"/>
|
---|
| 37 |
|
---|
[b7f5467] | 38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 39 | href="../common/gcc-static.xml"
|
---|
| 40 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 41 |
|
---|
| 42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 43 | href="../common/gcc-static.xml"
|
---|
| 44 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 45 |
|
---|
| 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 47 | href="../common/gcc-static.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 49 |
|
---|
| 50 | <screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
|
---|
| 51 | ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
|
---|
| 52 | --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
|
---|
| 53 | --with-sysroot=${CLFS} --disable-nls --disable-shared \
|
---|
[8a77fbd] | 54 | --without-headers --with-newlib \
|
---|
[b7f5467] | 55 | --disable-decimal-float --disable-libgomp --disable-libmudflap \
|
---|
| 56 | --disable-libssp --disable-threads --enable-languages=c \
|
---|
[0f33b23] | 57 | --disable-multilib --with-arch=${CLFS_CPU}</userinput></screen>
|
---|
[b7f5467] | 58 |
|
---|
[ae51e2a] | 59 | <!-- Common configure switches for all archs -->
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="../common/gcc-static.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
[b7f5467] | 63 |
|
---|
[ae51e2a] | 64 | <!-- Specific configure switches for x86 -->
|
---|
| 65 | <variablelist os="ag">
|
---|
[b7f5467] | 66 |
|
---|
[ae51e2a] | 67 | <varlistentry os="ag1">
|
---|
| 68 | <term><parameter>--with-arch=${CLFS_CPU}</parameter></term>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>This option configures the cross compiler to only output
|
---|
| 71 | instructions for our previously selected CPU.</para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </varlistentry>
|
---|
[b7f5467] | 74 |
|
---|
[ae51e2a] | 75 | </variablelist>
|
---|
[b7f5467] | 76 |
|
---|
| 77 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 78 | href="../common/gcc-static.xml"
|
---|
| 79 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 80 |
|
---|
| 81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 82 | href="../common/gcc-static.xml"
|
---|
| 83 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 84 |
|
---|
| 85 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 86 | href="../common/gcc-static.xml"
|
---|
| 87 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 88 |
|
---|
[ae51e2a] | 89 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 90 | href="../common/gcc-static.xml"
|
---|
| 91 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
[b7f5467] | 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
[ae51e2a] | 95 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 96 | href="../common/gcc-static.xml"
|
---|
| 97 | xpointer="xpointer(//*[@role='content'])"/>
|
---|
| 98 |
|
---|
[b7f5467] | 99 | </sect1>
|
---|