source: clfs-embedded/BOOK/cross-tools/x86/gcc-static.xml @ 54fde8f

Last change on this file since 54fde8f 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: 3.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<!-- x86 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_CPU}</userinput></screen>
69
70<!-- Common configure switches for all archs -->
71  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72  href="../common/gcc-static.xml"
73  xpointer="xpointer(//*[@os='af'])"/>
74
75<!-- Specific configure switches for x86 -->
76  <variablelist os="ag">
77
78    <varlistentry os="ag1">
79      <term><parameter>--with-arch=${CLFS_CPU}</parameter></term>
80      <listitem>
81        <para>This option configures the cross compiler to only output
82        instructions for our previously selected CPU.</para>
83      </listitem>
84    </varlistentry>
85
86  </variablelist>
87
88  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89  href="../common/gcc-static.xml"
90  xpointer="xpointer(//*[@os='ah'])"/>
91
92  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93  href="../common/gcc-static.xml"
94  xpointer="xpointer(//*[@os='ai'])"/>
95
96  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97  href="../common/gcc-static.xml"
98  xpointer="xpointer(//*[@os='aj'])"/>
99
100  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101  href="../common/gcc-static.xml"
102  xpointer="xpointer(//*[@os='ak'])"/>
103
104  </sect2>
105
106  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107  href="../common/gcc-static.xml"
108  xpointer="xpointer(//*[@role='content'])"/>
109
110</sect1>
Note: See TracBrowser for help on using the repository browser.