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