[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 | <!-- MIPS GCC-Static -->
|
---|
| 9 |
|
---|
| 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 |
|
---|
| 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 |
|
---|
[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 |
|
---|
[ae51e2a] | 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 \
|
---|
[ae51e2a] | 55 | --disable-decimal-float --disable-libgomp --disable-libmudflap \
|
---|
| 56 | --disable-libssp --disable-threads --enable-languages=c \
|
---|
[0c673f1] | 57 | --disable-multilib --with-abi=${CLFS_ABI} --with-arch=mips${CLFS_MIPS_LEVEL} \
|
---|
| 58 | --with-float=${CLFS_FLOAT} --with-endian=${CLFS_ENDIAN}</userinput></screen>
|
---|
[ae51e2a] | 59 |
|
---|
| 60 | <!-- Common configure switches for all archs -->
|
---|
| 61 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 62 | href="../common/gcc-static.xml"
|
---|
| 63 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
| 64 |
|
---|
| 65 | <!-- Specific configure switches for MIPS -->
|
---|
| 66 | <variablelist os="ag">
|
---|
| 67 |
|
---|
| 68 | <varlistentry os="ag1">
|
---|
| 69 | <term><parameter>--with-abi=${CLFS_ABI}</parameter></term>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>This option sets the ABI selected earlier.</para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </varlistentry>
|
---|
[0c673f1] | 74 | <varlistentry os="ag2">
|
---|
| 75 | <term><parameter>--with-arch=mips${CLFS_MIPS_LEVEL}</parameter></term>
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>This option sets the MIPS architecture ISA. Generic options
|
---|
| 78 | that apply to this book are of the form "mips${CLFS_MIPS_LEVEL}".
|
---|
| 79 | For example, "mips1" or "mips3". For a more expanded list of choices,
|
---|
| 80 | please see the GCC documentation at
|
---|
| 81 | <ulink url="http://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html" /></para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </varlistentry>
|
---|
| 84 | <varlistentry os="ag3">
|
---|
| 85 | <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
|
---|
| 86 | <listitem>
|
---|
| 87 | <para>This option sets the floating point mode selected earlier.</para>
|
---|
| 88 | </listitem>
|
---|
| 89 | </varlistentry>
|
---|
| 90 | <varlistentry os="ag4">
|
---|
| 91 | <term><parameter>--with-endian=${CLFS_ENDIAN}</parameter></term>
|
---|
| 92 | <listitem>
|
---|
| 93 | <para>This option sets the endianess of the CPU selected earlier.
|
---|
| 94 | GCC's configure scripts may not be able to determine the endianess
|
---|
| 95 | based only on the target triplet (as other architectures do).</para>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
[ae51e2a] | 98 |
|
---|
| 99 | </variablelist>
|
---|
| 100 |
|
---|
| 101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 102 | href="../common/gcc-static.xml"
|
---|
| 103 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 104 |
|
---|
| 105 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 106 | href="../common/gcc-static.xml"
|
---|
| 107 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 108 |
|
---|
| 109 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 110 | href="../common/gcc-static.xml"
|
---|
| 111 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 112 |
|
---|
| 113 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 114 | href="../common/gcc-static.xml"
|
---|
| 115 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 120 | href="../common/gcc-static.xml"
|
---|
| 121 | xpointer="xpointer(//*[@role='content'])"/>
|
---|
| 122 |
|
---|
| 123 | </sect1>
|
---|