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-system-eglibc-32" role="wrap">
|
---|
9 | <?dbhtml filename="eglibc.html"?>
|
---|
10 |
|
---|
11 | <title>EGLIBC-&eglibc-version; 32 Bit Libraries</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-eglibc-32">
|
---|
14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
15 | <secondary>32 Bit</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
19 | href="../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='z'])"/>
|
---|
28 |
|
---|
29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
30 | href="../common/eglibc.xml"
|
---|
31 | xpointer="xpointer(//*[@os='l1'])"/>
|
---|
32 |
|
---|
33 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
34 | href="../common/eglibc.xml"
|
---|
35 | xpointer="xpointer(//*[@os='l2'])"/>
|
---|
36 |
|
---|
37 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
38 | href="../common/eglibc.xml"
|
---|
39 | xpointer="xpointer(//*[@os='l3'])"/>
|
---|
40 |
|
---|
41 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
42 | href="../common/eglibc.xml"
|
---|
43 | xpointer="xpointer(//*[@os='l4'])"/>
|
---|
44 |
|
---|
45 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
46 | href="../common/eglibc.xml"
|
---|
47 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
48 |
|
---|
49 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
50 | href="../common/eglibc.xml"
|
---|
51 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
52 |
|
---|
53 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
54 | href="../common/eglibc.xml"
|
---|
55 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
56 |
|
---|
57 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
58 | href="../common/eglibc.xml"
|
---|
59 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
60 |
|
---|
61 | <screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
|
---|
62 | ../eglibc-&eglibc-version;/configure --prefix=/usr \
|
---|
63 | --disable-profile --enable-kernel=2.6.32 \
|
---|
64 | --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32} \
|
---|
65 | --enable-obsolete-rpc</userinput></screen>
|
---|
66 |
|
---|
67 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
68 | href="../common/eglibc.xml"
|
---|
69 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
70 |
|
---|
71 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
72 | href="../common/eglibc.xml"
|
---|
73 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
74 |
|
---|
75 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
76 | href="../common/eglibc.xml"
|
---|
77 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
78 |
|
---|
79 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
80 | href="../common/eglibc.xml"
|
---|
81 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
82 |
|
---|
83 | <para os="l1b">In multilib, we tend to think that compiling for
|
---|
84 | <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis>
|
---|
85 | cross-compiling. EGLIBC takes the traditional view that if you are building
|
---|
86 | for a different host then you are cross-compiling, so you won't be running
|
---|
87 | the tests and therefore you don't need the locale files. When we run
|
---|
88 | the tests, many will fail if the locale files are missing. The following
|
---|
89 | sed allows these tests to succeed:</para>
|
---|
90 |
|
---|
91 | <screen os="l2b"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../eglibc-&eglibc-version;/localedata/Makefile</userinput></screen>
|
---|
92 |
|
---|
93 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
94 | href="../common/eglibc.xml"
|
---|
95 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
96 |
|
---|
97 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
98 | href="../common/eglibc.xml"
|
---|
99 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
100 |
|
---|
101 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
102 | href="../common/eglibc.xml"
|
---|
103 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
104 |
|
---|
105 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
106 | href="../common/eglibc.xml"
|
---|
107 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
108 |
|
---|
109 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
110 | href="../common/eglibc.xml"
|
---|
111 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
112 |
|
---|
113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
114 | href="../common/eglibc.xml"
|
---|
115 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
116 |
|
---|
117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
118 | href="../common/eglibc.xml"
|
---|
119 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
120 |
|
---|
121 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
122 | href="../common/eglibc.xml"
|
---|
123 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="content">
|
---|
128 | <title/>
|
---|
129 |
|
---|
130 | <para>Details on this package are located in <xref
|
---|
131 | linkend="contents-eglibc" role="."/></para>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | </sect1>
|
---|