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

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

gcc: Linewrap configure options

No changes, just linewrapping for easier reading such that one option
goes on each line. This will make it easier to see what changes in
diffs between book edits, plus it's easier to read in the rendered book,
too.

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