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-n32" role="wrap">
|
---|
9 | <?dbhtml filename="eglibc-n32.html"?>
|
---|
10 |
|
---|
11 | <title>EGLIBC-&eglibc-version; N32</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-eglibc-n32">
|
---|
14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
18 | href="eglibc.xml"
|
---|
19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
20 |
|
---|
21 | <sect2 role="installation">
|
---|
22 | <title>Installation of EGLIBC</title>
|
---|
23 |
|
---|
24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
25 | href="../common/eglibc.xml"
|
---|
26 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
27 |
|
---|
28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
29 | href="../common/eglibc.xml"
|
---|
30 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
31 |
|
---|
32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
33 | href="../common/eglibc.xml"
|
---|
34 | xpointer="xpointer(//*[@os='l3'])"/>
|
---|
35 |
|
---|
36 | <screen os="l4"><userinput>LINKER=$(readelf -l $(file /tools/lib32/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
|
---|
37 | sed -i "s|libs -o|libs -L/usr/lib32 -Wl,-dynamic-linker=${LINKER} -o|" \
|
---|
38 | scripts/test-installation.pl
|
---|
39 | unset LINKER</userinput></screen>
|
---|
40 |
|
---|
41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
42 | href="eglibc.xml"
|
---|
43 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
44 |
|
---|
45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
46 | href="eglibc.xml"
|
---|
47 | xpointer="xpointer(//*[@os='g1'])"/>
|
---|
48 |
|
---|
49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
50 | href="eglibc.xml"
|
---|
51 | xpointer="xpointer(//*[@os='g2'])"/>
|
---|
52 |
|
---|
53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
54 | href="eglibc-64bit.xml"
|
---|
55 | xpointer="xpointer(//*[@os='m3'])"/>
|
---|
56 |
|
---|
57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
58 | href="eglibc-64bit.xml"
|
---|
59 | xpointer="xpointer(//*[@os='m4'])"/>
|
---|
60 |
|
---|
61 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
62 | href="eglibc.xml"
|
---|
63 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
64 |
|
---|
65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
66 | href="eglibc.xml"
|
---|
67 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
68 |
|
---|
69 | <para os="m1">Tell EGLIBC to install its 32-bit libraries into
|
---|
70 | <filename class="directory">/lib32</filename>:</para>
|
---|
71 |
|
---|
72 | <screen os="m2"><userinput>echo "slibdir=/lib32" >> configparms</userinput></screen>
|
---|
73 |
|
---|
74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
75 | href="eglibc.xml"
|
---|
76 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
77 |
|
---|
78 | <screen os="h"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
|
---|
79 | ../eglibc-&eglibc-version;/configure --prefix=/usr \
|
---|
80 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
81 | --libexecdir=/usr/lib32/eglibc --libdir=/usr/lib32</userinput></screen>
|
---|
82 |
|
---|
83 | <variablelist os="i">
|
---|
84 | <title>The meaning of the new configure option:</title>
|
---|
85 |
|
---|
86 | <varlistentry>
|
---|
87 | <term><parameter>--libexecdir=/usr/lib32/eglibc</parameter></term>
|
---|
88 | <listitem>
|
---|
89 | <para>This changes the location of the <command>pt_chown</command>
|
---|
90 | program from its default of <filename
|
---|
91 | class="directory">/usr/libexec</filename> to <filename
|
---|
92 | class="directory">/usr/lib32/eglibc</filename>.</para>
|
---|
93 | </listitem>
|
---|
94 | </varlistentry>
|
---|
95 | </variablelist>
|
---|
96 |
|
---|
97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
98 | href="eglibc.xml"
|
---|
99 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
100 |
|
---|
101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
102 | href="eglibc.xml"
|
---|
103 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
104 |
|
---|
105 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
106 | href="eglibc.xml"
|
---|
107 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
108 |
|
---|
109 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
110 | href="eglibc.xml"
|
---|
111 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
112 |
|
---|
113 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
114 | href="../multilib/eglibc-64bit.xml"
|
---|
115 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
116 |
|
---|
117 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
118 | href="../multilib/eglibc-64bit.xml"
|
---|
119 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
120 |
|
---|
121 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
122 | href="../multilib/eglibc-64bit.xml"
|
---|
123 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
124 |
|
---|
125 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
126 | href="eglibc.xml"
|
---|
127 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
128 |
|
---|
129 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
130 | href="eglibc.xml"
|
---|
131 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2 role="content">
|
---|
136 | <title/>
|
---|
137 |
|
---|
138 | <para>Details on this package are located in <xref
|
---|
139 | linkend="contents-eglibc" role="."/></para>
|
---|
140 |
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | </sect1>
|
---|