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-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 |
|
---|
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>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 \
|
---|
54 | --without-headers --with-newlib \
|
---|
55 | --disable-decimal-float --disable-libgomp --disable-libmudflap \
|
---|
56 | --disable-libssp --disable-threads --enable-languages=c \
|
---|
57 | --disable-multilib --with-abi=${CLFS_ABI} --with-arch=${CLFS_ARM_ARCH} \
|
---|
58 | --with-mode=${CLFS_ARM_MODE} --with-float=${CLFS_FLOAT} \
|
---|
59 | --with-fpu=${CLFS_FPU}</userinput></screen>
|
---|
60 |
|
---|
61 | <!-- Common configure switches for all archs -->
|
---|
62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
63 | href="../common/gcc-static.xml"
|
---|
64 | xpointer="xpointer(//*[@os='af'])"/>
|
---|
65 |
|
---|
66 | <!-- Specific configure switches for ARM -->
|
---|
67 | <variablelist os="ag">
|
---|
68 |
|
---|
69 | <varlistentry os="ag1">
|
---|
70 | <term><parameter>--with-abi=${CLFS_ABI}</parameter></term>
|
---|
71 | <listitem>
|
---|
72 | <para>This option sets the ABI selected earlier.</para>
|
---|
73 | </listitem>
|
---|
74 | </varlistentry>
|
---|
75 | <varlistentry os="ag2">
|
---|
76 | <term><parameter>--with-arch=${CLFS_ARM_ARCH}</parameter></term>
|
---|
77 | <listitem>
|
---|
78 | <para>This option sets the ARM architecture selected earlier.</para>
|
---|
79 | </listitem>
|
---|
80 | </varlistentry>
|
---|
81 | <varlistentry os="ag3">
|
---|
82 | <term><parameter>--with-mode=${CLFS_ARM_MODE}</parameter></term>
|
---|
83 | <listitem>
|
---|
84 | <para>This option sets the ARM mode (arm or thumb) selected earlier.</para>
|
---|
85 | </listitem>
|
---|
86 | </varlistentry>
|
---|
87 | <varlistentry os="ag4">
|
---|
88 | <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
|
---|
89 | <listitem>
|
---|
90 | <para>This option sets the floating point mode selected earlier.</para>
|
---|
91 | </listitem>
|
---|
92 | </varlistentry>
|
---|
93 | <varlistentry os="ag5">
|
---|
94 | <term><parameter>--with-fpu=${CLFS_FPU}</parameter></term>
|
---|
95 | <listitem>
|
---|
96 | <para>This option sets the hardware floating point type selected
|
---|
97 | earlier. If soft floating point was selected, this value is ignored.</para>
|
---|
98 | </listitem>
|
---|
99 | </varlistentry>
|
---|
100 |
|
---|
101 | </variablelist>
|
---|
102 |
|
---|
103 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
104 | href="../common/gcc-static.xml"
|
---|
105 | xpointer="xpointer(//*[@os='ah'])"/>
|
---|
106 |
|
---|
107 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
108 | href="../common/gcc-static.xml"
|
---|
109 | xpointer="xpointer(//*[@os='ai'])"/>
|
---|
110 |
|
---|
111 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
112 | href="../common/gcc-static.xml"
|
---|
113 | xpointer="xpointer(//*[@os='aj'])"/>
|
---|
114 |
|
---|
115 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
116 | href="../common/gcc-static.xml"
|
---|
117 | xpointer="xpointer(//*[@os='ak'])"/>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
122 | href="../common/gcc-static.xml"
|
---|
123 | xpointer="xpointer(//*[@role='content'])"/>
|
---|
124 |
|
---|
125 | </sect1>
|
---|