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

Last change on this file since e3be04f8 was 6368159, checked in by Andrew Bradford <andrew@…>, 11 years ago

gcc-static: Add --disable-lib{quadmath,atomic}

They aren't needed for static build of gcc.

  • Property mode set to 100644
File size: 4.2 KB
Line 
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>../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/sysroot \
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-arch=${CLFS_ARM_ARCH} \
70 --with-mode=${CLFS_ARM_MODE} \
71 --with-float=${CLFS_FLOAT} \
72 --with-fpu=${CLFS_FPU}</userinput></screen>
73
74<!-- Common configure switches for all archs -->
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="../common/gcc-static.xml"
77 xpointer="xpointer(//*[@os='af'])"/>
78
79<!-- Specific configure switches for ARM -->
80 <variablelist os="ag">
81
82 <varlistentry os="ag1">
83 <term><parameter>--with-abi=${CLFS_ABI}</parameter></term>
84 <listitem>
85 <para>This option sets the ABI selected earlier.</para>
86 </listitem>
87 </varlistentry>
88 <varlistentry os="ag2">
89 <term><parameter>--with-arch=${CLFS_ARM_ARCH}</parameter></term>
90 <listitem>
91 <para>This option sets the ARM architecture selected earlier.</para>
92 </listitem>
93 </varlistentry>
94 <varlistentry os="ag3">
95 <term><parameter>--with-mode=${CLFS_ARM_MODE}</parameter></term>
96 <listitem>
97 <para>This option sets the ARM mode (arm or thumb) selected earlier.</para>
98 </listitem>
99 </varlistentry>
100 <varlistentry os="ag4">
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="ag5">
107 <term><parameter>--with-fpu=${CLFS_FPU}</parameter></term>
108 <listitem>
109 <para>This option sets the hardware floating point type selected
110 earlier. If soft floating point was selected, this value is ignored.</para>
111 </listitem>
112 </varlistentry>
113
114 </variablelist>
115
116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
117 href="../common/gcc-static.xml"
118 xpointer="xpointer(//*[@os='ah'])"/>
119
120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
121 href="../common/gcc-static.xml"
122 xpointer="xpointer(//*[@os='ai'])"/>
123
124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
125 href="../common/gcc-static.xml"
126 xpointer="xpointer(//*[@os='aj'])"/>
127
128 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
129 href="../common/gcc-static.xml"
130 xpointer="xpointer(//*[@os='ak'])"/>
131
132 </sect2>
133
134 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
135 href="../common/gcc-static.xml"
136 xpointer="xpointer(//*[@role='content'])"/>
137
138</sect1>
Note: See TracBrowser for help on using the repository browser.