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