source: clfs-embedded/BOOK/cross-tools/mips/gcc-static.xml@ fd75ead

Last change on this file since fd75ead 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.4 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<!-- MIPS 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-abi=${CLFS_ABI} \
69 --with-arch=mips${CLFS_MIPS_LEVEL} \
70 --with-float=${CLFS_FLOAT} \
71 --with-endian=${CLFS_ENDIAN}</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 MIPS -->
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=mips${CLFS_MIPS_LEVEL}</parameter></term>
89 <listitem>
90 <para>This option sets the MIPS architecture ISA. Generic options
91 that apply to this book are of the form "mips${CLFS_MIPS_LEVEL}".
92 For example, "mips1" or "mips3". For a more expanded list of choices,
93 please see the GCC documentation at
94 <ulink url="http://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html" /></para>
95 </listitem>
96 </varlistentry>
97 <varlistentry os="ag3">
98 <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
99 <listitem>
100 <para>This option sets the floating point mode selected earlier.</para>
101 </listitem>
102 </varlistentry>
103 <varlistentry os="ag4">
104 <term><parameter>--with-endian=${CLFS_ENDIAN}</parameter></term>
105 <listitem>
106 <para>This option sets the endianess of the CPU selected earlier.
107 GCC's configure scripts may not be able to determine the endianess
108 based only on the target triplet (as other architectures do).</para>
109 </listitem>
110 </varlistentry>
111
112 </variablelist>
113
114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
115 href="../common/gcc-static.xml"
116 xpointer="xpointer(//*[@os='ah'])"/>
117
118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
119 href="../common/gcc-static.xml"
120 xpointer="xpointer(//*[@os='ai'])"/>
121
122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
123 href="../common/gcc-static.xml"
124 xpointer="xpointer(//*[@os='aj'])"/>
125
126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
127 href="../common/gcc-static.xml"
128 xpointer="xpointer(//*[@os='ak'])"/>
129
130 </sect2>
131
132 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
133 href="../common/gcc-static.xml"
134 xpointer="xpointer(//*[@role='content'])"/>
135
136</sect1>
Note: See TracBrowser for help on using the repository browser.