[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[093b0e8] | 8 | <sect1 id="ch-system-eglibc-n32" role="wrap">
|
---|
| 9 | <?dbhtml filename="eglibc-n32.html"?>
|
---|
[3f8be484] | 10 |
|
---|
[093b0e8] | 11 | <title>EGLIBC-&eglibc-version; N32</title>
|
---|
[3f8be484] | 12 |
|
---|
[093b0e8] | 13 | <indexterm zone="ch-system-eglibc-n32">
|
---|
| 14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
[3f8be484] | 15 | </indexterm>
|
---|
| 16 |
|
---|
[663c5a6] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 18 | href="eglibc.xml"
|
---|
[663c5a6] | 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
[093b0e8] | 22 | <title>Installation of EGLIBC</title>
|
---|
[3f8be484] | 23 |
|
---|
[d8f87e8] | 24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 25 | href="../common/eglibc.xml"
|
---|
[c0bc7c4] | 26 | xpointer="xpointer(//*[@os='l3'])"/>
|
---|
[d8f87e8] | 27 |
|
---|
[c0bc7c4] | 28 | <screen os="l4"><userinput>LINKER=$(readelf -l $(file /tools/lib32/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
|
---|
[d8f87e8] | 29 | sed -i "s|libs -o|libs -L/usr/lib32 -Wl,-dynamic-linker=${LINKER} -o|" \
|
---|
| 30 | scripts/test-installation.pl
|
---|
| 31 | unset LINKER</userinput></screen>
|
---|
| 32 |
|
---|
[3f8be484] | 33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 34 | href="eglibc.xml"
|
---|
[3f8be484] | 35 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 36 |
|
---|
[c13f654] | 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 38 | href="eglibc.xml"
|
---|
[8125418] | 39 | xpointer="xpointer(//*[@os='g1'])"/>
|
---|
[c13f654] | 40 |
|
---|
| 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 42 | href="eglibc.xml"
|
---|
[8125418] | 43 | xpointer="xpointer(//*[@os='g2'])"/>
|
---|
[c13f654] | 44 |
|
---|
[3f8be484] | 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 46 | href="eglibc-64bit.xml"
|
---|
[814837a8] | 47 | xpointer="xpointer(//*[@os='m3'])"/>
|
---|
| 48 |
|
---|
| 49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 50 | href="eglibc-64bit.xml"
|
---|
[814837a8] | 51 | xpointer="xpointer(//*[@os='m4'])"/>
|
---|
| 52 |
|
---|
[3f8be484] | 53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 54 | href="eglibc.xml"
|
---|
[3f8be484] | 55 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 56 |
|
---|
| 57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 58 | href="eglibc.xml"
|
---|
[3f8be484] | 59 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 60 |
|
---|
[093b0e8] | 61 | <para os="m1">Tell EGLIBC to install its 32-bit libraries into
|
---|
[3f8be484] | 62 | <filename class="directory">/lib32</filename>:</para>
|
---|
| 63 |
|
---|
[d3a4fc0] | 64 | <screen os="m2"><userinput>echo "slibdir=/lib32" >> configparms</userinput></screen>
|
---|
[3f8be484] | 65 |
|
---|
| 66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 67 | href="eglibc.xml"
|
---|
[3f8be484] | 68 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 69 |
|
---|
[d3a4fc0] | 70 | <screen os="h"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
|
---|
[093b0e8] | 71 | ../eglibc-&eglibc-version;/configure --prefix=/usr \
|
---|
[3f8be484] | 72 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
[093b0e8] | 73 | --libexecdir=/usr/lib32/eglibc --libdir=/usr/lib32</userinput></screen>
|
---|
[3f8be484] | 74 |
|
---|
[d3a4fc0] | 75 | <variablelist os="i">
|
---|
[3f8be484] | 76 | <title>The meaning of the new configure option:</title>
|
---|
| 77 |
|
---|
| 78 | <varlistentry>
|
---|
[093b0e8] | 79 | <term><parameter>--libexecdir=/usr/lib32/eglibc</parameter></term>
|
---|
[3f8be484] | 80 | <listitem>
|
---|
| 81 | <para>This changes the location of the <command>pt_chown</command>
|
---|
| 82 | program from its default of <filename
|
---|
| 83 | class="directory">/usr/libexec</filename> to <filename
|
---|
[093b0e8] | 84 | class="directory">/usr/lib32/eglibc</filename>.</para>
|
---|
[3f8be484] | 85 | </listitem>
|
---|
| 86 | </varlistentry>
|
---|
| 87 | </variablelist>
|
---|
| 88 |
|
---|
| 89 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 90 | href="eglibc.xml"
|
---|
[3f8be484] | 91 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 92 |
|
---|
| 93 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 94 | href="eglibc.xml"
|
---|
[3f8be484] | 95 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 96 |
|
---|
| 97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 98 | href="eglibc.xml"
|
---|
[3f8be484] | 99 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 100 |
|
---|
| 101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 102 | href="eglibc.xml"
|
---|
[3f8be484] | 103 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 104 |
|
---|
[d3a4fc0] | 105 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 106 | href="../multilib/eglibc-64bit.xml"
|
---|
[d3a4fc0] | 107 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 108 |
|
---|
| 109 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 110 | href="../multilib/eglibc-64bit.xml"
|
---|
[d3a4fc0] | 111 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 112 |
|
---|
| 113 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 114 | href="../multilib/eglibc-64bit.xml"
|
---|
[94e6142] | 115 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
[3f8be484] | 116 |
|
---|
| 117 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 118 | href="eglibc.xml"
|
---|
[3f8be484] | 119 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 120 |
|
---|
| 121 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
[093b0e8] | 122 | href="eglibc.xml"
|
---|
[3f8be484] | 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
|
---|
[093b0e8] | 131 | linkend="contents-eglibc" role="."/></para>
|
---|
[3f8be484] | 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | </sect1>
|
---|