[bd0ad10] | 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-Final -->
|
---|
| 9 |
|
---|
| 10 | <sect1 id="ch-cross-tools-gcc-final" role="wrap">
|
---|
| 11 | <?dbhtml filename="gcc-final.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>GCC-&gcc-version; - Cross Compiler Final</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-cross-tools-gcc-final">
|
---|
| 16 | <primary sortas="a-GCC">GCC</primary>
|
---|
| 17 | <secondary>cross tools, final</secondary>
|
---|
| 18 | </indexterm>
|
---|
| 19 |
|
---|
| 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../common/gcc-final.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of GCC Cross Compiler</title>
|
---|
| 26 |
|
---|
| 27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 28 | href="../common/gcc-final.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 30 |
|
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 32 | href="../common/gcc-final.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 34 |
|
---|
| 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 36 | href="../common/gcc-final.xml"
|
---|
| 37 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 38 |
|
---|
| 39 | <screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
|
---|
| 40 | ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
|
---|
| 41 | --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
|
---|
| 42 | --with-sysroot=${CLFS} --disable-nls --enable-shared \
|
---|
| 43 | --enable-languages=c --enable-c99 --enable-long-long \
|
---|
| 44 | --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
|
---|
| 45 | --with-mpc=${CLFS}/cross-tools --with-abi=${CLFS_ABI}</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <variablelist os="af">
|
---|
| 48 | <title>The meaning of the configure options not used previously:</title>
|
---|
| 49 |
|
---|
| 50 | <varlistentry os="af1">
|
---|
| 51 | <term><parameter>--enable-shared</parameter></term>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Enables the creation of the shared libraries.</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </varlistentry>
|
---|
| 56 |
|
---|
| 57 | <varlistentry os="af2">
|
---|
| 58 | <term><parameter>--enable-c99</parameter></term>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Enable C99 support for C programs.</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </varlistentry>
|
---|
| 63 |
|
---|
| 64 | <varlistentry os="af3">
|
---|
| 65 | <term><parameter>--enable-long-long</parameter></term>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Enables long long support in the compiler.</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </varlistentry>
|
---|
| 70 |
|
---|
| 71 | </variablelist>
|
---|
| 72 |
|
---|
| 73 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 74 | href="../common/gcc-final.xml"
|
---|
| 75 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
| 76 |
|
---|
| 77 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 78 | href="../common/gcc-final.xml"
|
---|
| 79 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 80 |
|
---|
| 81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 82 | href="../common/gcc-final.xml"
|
---|
| 83 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
| 84 |
|
---|
| 85 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 86 | href="../common/gcc-final.xml"
|
---|
| 87 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
| 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 92 | href="../common/gcc-final.xml"
|
---|
| 93 | xpointer="xpointer(//*[@role='content'])"/>
|
---|
| 94 |
|
---|
| 95 | </sect1>
|
---|