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