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

Last change on this file since 2bee6f1 was 0c673f1, checked in by Andrew Bradford <bradfa@…>, 14 years ago

MIPS GCC-Static --disable-multilib complete

Fully enabled --disable-multilib for MIPS GCC-Static.
User sets abi, arch, float, and endian.

  • Property mode set to 100644
File size: 4.1 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='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 \
50 --disable-multilib --with-abi=${CLFS_ABI} --with-arch=mips${CLFS_MIPS_LEVEL} \
51 --with-float=${CLFS_FLOAT} --with-endian=${CLFS_ENDIAN}</userinput></screen>
52
53<!-- Common configure switches for all archs -->
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../common/gcc-static.xml"
56 xpointer="xpointer(//*[@os='af'])"/>
57
58<!-- Specific configure switches for MIPS -->
59 <variablelist os="ag">
60
61 <varlistentry os="ag1">
62 <term><parameter>--with-abi=${CLFS_ABI}</parameter></term>
63 <listitem>
64 <para>This option sets the ABI selected earlier.</para>
65 </listitem>
66 </varlistentry>
67 <varlistentry os="ag2">
68 <term><parameter>--with-arch=mips${CLFS_MIPS_LEVEL}</parameter></term>
69 <listitem>
70 <para>This option sets the MIPS architecture ISA. Generic options
71 that apply to this book are of the form "mips${CLFS_MIPS_LEVEL}".
72 For example, "mips1" or "mips3". For a more expanded list of choices,
73 please see the GCC documentation at
74 <ulink url="http://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html" /></para>
75 </listitem>
76 </varlistentry>
77 <varlistentry os="ag3">
78 <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
79 <listitem>
80 <para>This option sets the floating point mode selected earlier.</para>
81 </listitem>
82 </varlistentry>
83 <varlistentry os="ag4">
84 <term><parameter>--with-endian=${CLFS_ENDIAN}</parameter></term>
85 <listitem>
86 <para>This option sets the endianess of the CPU selected earlier.
87 GCC's configure scripts may not be able to determine the endianess
88 based only on the target triplet (as other architectures do).</para>
89 </listitem>
90 </varlistentry>
91
92 </variablelist>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../common/gcc-static.xml"
96 xpointer="xpointer(//*[@os='ah'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../common/gcc-static.xml"
100 xpointer="xpointer(//*[@os='ai'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="../common/gcc-static.xml"
104 xpointer="xpointer(//*[@os='aj'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="../common/gcc-static.xml"
108 xpointer="xpointer(//*[@os='ak'])"/>
109
110 </sect2>
111
112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
113 href="../common/gcc-static.xml"
114 xpointer="xpointer(//*[@role='content'])"/>
115
116</sect1>
Note: See TracBrowser for help on using the repository browser.