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