source: BOOK/cross-tools/x86/eglibc.xml@ a45f862

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a45f862 was 82b753e0, checked in by Chris Staub <chris@…>, 12 years ago

EGLIBC no longer needs --enable-add-ons

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