source: BOOK/cross-tools/x86/glibc.xml@ fd9c7d4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fd9c7d4 was 6a043e2, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Upgrade to GCC 4.3.1.

  • Property mode set to 100644
File size: 6.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<sect1 id="ch-cross-tools-glibc" role="wrap">
9 <?dbhtml filename="glibc.html"?>
10
11 <title>Glibc-&glibc-version;</title>
12
13 <indexterm zone="ch-cross-tools-glibc">
14 <primary sortas="a-Glibc">Glibc</primary>
15 <secondary>cross tools</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/glibc.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Glibc</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../common/glibc.xml"
27 xpointer="xpointer(//*[@os='da'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../common/glibc.xml"
31 xpointer="xpointer(//*[@os='p3'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../common/glibc.xml"
35 xpointer="xpointer(//*[@os='p4'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../common/glibc.xml"
39 xpointer="xpointer(//*[@os='db'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="../common/glibc.xml"
43 xpointer="xpointer(//*[@os='dc'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../common/glibc.xml"
47 xpointer="xpointer(//*[@os='c'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../common/glibc.xml"
51 xpointer="xpointer(//*[@os='d'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../../final-system/x86/glibc.xml"
55 xpointer="xpointer(//*[@os='ap1'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../../final-system/x86/glibc.xml"
59 xpointer="xpointer(//*[@os='ap2'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../common/glibc.xml"
63 xpointer="xpointer(//*[@os='e'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/glibc.xml"
67 xpointer="xpointer(//*[@os='f'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../common/glibc.xml"
71 xpointer="xpointer(//*[@os='dd'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../common/glibc.xml"
75 xpointer="xpointer(//*[@os='de'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../../final-system/common/glibc.xml"
79 xpointer="xpointer(//*[@os='g'])"/>
80
81<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
82 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
83 CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET) -mtune=generic -g -O2" \
84 ../glibc-&glibc-version;/configure --prefix=/tools \
85 --host=${CLFS_TARGET} --build=${CLFS_HOST} \
86 --disable-profile --enable-add-ons \
87 --with-tls --enable-kernel=2.6.0 --with-__thread \
88 --with-binutils=/cross-tools/bin --with-headers=/tools/include \
89 --cache-file=config.cache</userinput></screen>
90
91 <variablelist os="dg">
92 <title>The meaning of the new configure options:</title>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../common/glibc.xml"
96 xpointer="xpointer(//*[@os='dg1'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../common/glibc.xml"
100 xpointer="xpointer(//*[@os='dg2'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="../common/glibc.xml"
104 xpointer="xpointer(//*[@os='dg3'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="../common/glibc.xml"
108 xpointer="xpointer(//*[@os='dg4'])"/>
109
110 <varlistentry os="ea2">
111 <term><parameter>CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt;
112 $CLFS_TARGET) -mtune=generic -g -O2"</parameter></term>
113 <listitem>
114 <para>Forces Glibc to optimize for our target system.</para>
115 </listitem>
116 </varlistentry>
117
118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
119 href="../common/glibc.xml"
120 xpointer="xpointer(//*[@os='dg5'])"/>
121
122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
123 href="../common/glibc.xml"
124 xpointer="xpointer(//*[@os='dg6'])"/>
125
126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
127 href="../common/glibc.xml"
128 xpointer="xpointer(//*[@os='dg7'])"/>
129
130 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
131 href="../common/glibc.xml"
132 xpointer="xpointer(//*[@os='dg8'])"/>
133
134 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
135 href="../common/glibc.xml"
136 xpointer="xpointer(//*[@os='dg9'])"/>
137
138 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
139 href="../common/glibc.xml"
140 xpointer="xpointer(//*[@os='dg10'])"/>
141
142 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
143 href="../common/glibc.xml"
144 xpointer="xpointer(//*[@os='dg11'])"/>
145
146 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
147 href="../common/glibc.xml"
148 xpointer="xpointer(//*[@os='dg12'])"/>
149
150 </variablelist>
151
152 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
153 href="../common/glibc.xml"
154 xpointer="xpointer(//*[@os='dh'])"/>
155
156 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
157 href="../common/glibc.xml"
158 xpointer="xpointer(//*[@os='di'])"/>
159
160 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
161 href="../common/glibc.xml"
162 xpointer="xpointer(//*[@os='dj'])"/>
163
164 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
165 href="../common/glibc.xml"
166 xpointer="xpointer(//*[@os='dk'])"/>
167
168 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
169 href="../common/glibc.xml"
170 xpointer="xpointer(//*[@os='dl'])"/>
171
172 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
173 href="../common/glibc.xml"
174 xpointer="xpointer(//*[@os='dm'])"/>
175
176 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
177 href="../common/glibc.xml"
178 xpointer="xpointer(//*[@os='dn'])"/>
179
180 </sect2>
181
182 <sect2 role="content">
183 <title/>
184
185 <para>Details on this package are located in <xref
186 linkend="contents-glibc" role="."/></para>
187
188 </sect2>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.