[9f0beb0] | 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 |
|
---|
[bd0ad10] | 8 | <!-- x86 GCC-Final -->
|
---|
| 9 |
|
---|
[9f0beb0] | 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"
|
---|
[bd0ad10] | 21 | href="../common/gcc-final.xml"
|
---|
[9f0beb0] | 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"
|
---|
[bd0ad10] | 28 | href="../common/gcc-final.xml"
|
---|
[9f0beb0] | 29 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 30 |
|
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[bd0ad10] | 32 | href="../common/gcc-final.xml"
|
---|
[9f0beb0] | 33 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 34 |
|
---|
| 35 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[bd0ad10] | 36 | href="../common/gcc-final.xml"
|
---|
[9f0beb0] | 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 \
|
---|
[a20c17d] | 45 | --with-mpc=${CLFS}/cross-tools --disable-multilib \
|
---|
| 46 | --with-arch=${CLFS_CPU}</userinput></screen>
|
---|
[9f0beb0] | 47 |
|
---|
[2a10689] | 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 49 | href="../common/gcc-final.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
[9f0beb0] | 51 |
|
---|
| 52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[bd0ad10] | 53 | href="../common/gcc-final.xml"
|
---|
| 54 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
[9f0beb0] | 55 |
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[bd0ad10] | 57 | href="../common/gcc-final.xml"
|
---|
[9f0beb0] | 58 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
| 59 |
|
---|
[bd0ad10] | 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="../common/gcc-final.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
[9f0beb0] | 63 |
|
---|
[bd0ad10] | 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 65 | href="../common/gcc-final.xml"
|
---|
| 66 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
[9f0beb0] | 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
[bd0ad10] | 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 71 | href="../common/gcc-final.xml"
|
---|
| 72 | xpointer="xpointer(//*[@role='content'])"/>
|
---|
| 73 |
|
---|
[9f0beb0] | 74 | </sect1>
|
---|