source: clfs-embedded/BOOK/cross-tools/arm/gcc-static.xml@ 2e939d0

Last change on this file since 2e939d0 was 18d1bcd, checked in by Andrew Bradford <bradfa@…>, 14 years ago

ARM GCC-Static --disable-multilib complete

Fully enabled --disable-multilib for ARM GCC-Static.
User sets abi, arch, mode, float, and fpu when configuring.

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[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<!-- 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='c'])"/>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../common/gcc-static.xml"
36 xpointer="xpointer(//*[@os='d'])"/>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../common/gcc-static.xml"
40 xpointer="xpointer(//*[@os='e'])"/>
41
42<screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
43 ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
44 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
45 --with-sysroot=${CLFS} --disable-nls --disable-shared \
46 --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
47 --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
48 --disable-decimal-float --disable-libgomp --disable-libmudflap \
49 --disable-libssp --disable-threads --enable-languages=c \
[18d1bcd]50 --disable-multilib --with-abi=${CLFS_ABI} --with-arch=${CLFS_ARM_ARCH} \
51 --with-mode=${CLFS_ARM_MODE} --with-float=${CLFS_FLOAT} \
52 --with-fpu=${CLFS_FPU}</userinput></screen>
[ae51e2a]53
54<!-- Common configure switches for all archs -->
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../common/gcc-static.xml"
57 xpointer="xpointer(//*[@os='af'])"/>
58
59<!-- Specific configure switches for ARM -->
60 <variablelist os="ag">
61
62 <varlistentry os="ag1">
63 <term><parameter>--with-abi=${CLFS_ABI}</parameter></term>
64 <listitem>
65 <para>This option sets the ABI selected earlier.</para>
66 </listitem>
67 </varlistentry>
[18d1bcd]68 <varlistentry os="ag2">
69 <term><parameter>--with-arch=${CLFS_ARM_ARCH}</parameter></term>
70 <listitem>
71 <para>This option sets the ARM architecture selected earlier.</para>
72 </listitem>
73 </varlistentry>
74 <varlistentry os="ag3">
75 <term><parameter>--with-mode=${CLFS_ARM_MODE}</parameter></term>
76 <listitem>
77 <para>This option sets the ARM mode (arm or thumb) selected earlier.</para>
78 </listitem>
79 </varlistentry>
80 <varlistentry os="ag4">
81 <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
82 <listitem>
83 <para>This option sets the floating point mode selected earlier.</para>
84 </listitem>
85 </varlistentry>
86 <varlistentry os="ag5">
87 <term><parameter>--with-fpu=${CLFS_FPU}</parameter></term>
88 <listitem>
89 <para>This option sets the hardware floating point type selected
90 earlier. If soft floating point was selected, this value is ignored.</para>
91 </listitem>
92 </varlistentry>
[ae51e2a]93
94 </variablelist>
95
96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97 href="../common/gcc-static.xml"
98 xpointer="xpointer(//*[@os='ah'])"/>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../common/gcc-static.xml"
102 xpointer="xpointer(//*[@os='ai'])"/>
103
104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../common/gcc-static.xml"
106 xpointer="xpointer(//*[@os='aj'])"/>
107
108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
109 href="../common/gcc-static.xml"
110 xpointer="xpointer(//*[@os='ak'])"/>
111
112 </sect2>
113
114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
115 href="../common/gcc-static.xml"
116 xpointer="xpointer(//*[@role='content'])"/>
117
118</sect1>
Note: See TracBrowser for help on using the repository browser.