[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" |
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ |
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
| 5 | %general-entities; |
---|
| 6 | ]> |
---|
| 7 | |
---|
| 8 | <sect1 id="ch-system-glibc-32" role="wrap"> |
---|
| 9 | <?dbhtml filename="glibc.html"?> |
---|
| 10 | |
---|
| 11 | <title>Glibc-&glibc-version; 32 Bit Libraries</title> |
---|
| 12 | |
---|
| 13 | <indexterm zone="ch-system-glibc-32"> |
---|
| 14 | <primary sortas="a-Glibc">Glibc</primary> |
---|
| 15 | <secondary>32 Bit</secondary> |
---|
| 16 | </indexterm> |
---|
| 17 | |
---|
[1cd688b] | 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 19 | href="../common/glibc.xml" |
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/> |
---|
[3f8be484] | 21 | |
---|
| 22 | <sect2 role="installation"> |
---|
| 23 | <title>Installation of Glibc</title> |
---|
| 24 | |
---|
| 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 26 | href="../common/glibc.xml" |
---|
[82f7fed] | 27 | xpointer="xpointer(//*[@os='z'])"/> |
---|
[3f8be484] | 28 | |
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 30 | href="../common/glibc.xml" |
---|
| 31 | xpointer="xpointer(//*[@os='b'])"/> |
---|
| 32 | |
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 34 | href="../common/glibc.xml" |
---|
| 35 | xpointer="xpointer(//*[@os='c'])"/> |
---|
| 36 | |
---|
| 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 38 | href="../common/glibc.xml" |
---|
| 39 | xpointer="xpointer(//*[@os='d'])"/> |
---|
| 40 | |
---|
[54dd8b6] | 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 42 | href="../common/glibc.xml" |
---|
| 43 | xpointer="xpointer(//*[@os='p1'])"/> |
---|
| 44 | |
---|
| 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 46 | href="../common/glibc.xml" |
---|
| 47 | xpointer="xpointer(//*[@os='p2'])"/> |
---|
| 48 | |
---|
[7d61e92] | 49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 50 | href="../common/glibc.xml" |
---|
| 51 | xpointer="xpointer(//*[@os='s1'])"/> |
---|
| 52 | |
---|
| 53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 54 | href="../common/glibc.xml" |
---|
| 55 | xpointer="xpointer(//*[@os='s2'])"/> |
---|
| 56 | |
---|
[3f8be484] | 57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 58 | href="../common/glibc.xml" |
---|
| 59 | xpointer="xpointer(//*[@os='e'])"/> |
---|
| 60 | |
---|
| 61 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 62 | href="../common/glibc.xml" |
---|
| 63 | xpointer="xpointer(//*[@os='f'])"/> |
---|
| 64 | |
---|
| 65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 66 | href="../common/glibc.xml" |
---|
| 67 | xpointer="xpointer(//*[@os='g'])"/> |
---|
| 68 | |
---|
[d3a4fc0] | 69 | <screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ |
---|
[3f8be484] | 70 | ../glibc-&glibc-version;/configure --prefix=/usr \ |
---|
| 71 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ |
---|
[07114c98] | 72 | --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET32}</userinput></screen> |
---|
[3f8be484] | 73 | |
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 75 | href="../common/glibc.xml" |
---|
| 76 | xpointer="xpointer(//*[@os='i'])"/> |
---|
| 77 | |
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 79 | href="../common/glibc.xml" |
---|
| 80 | xpointer="xpointer(//*[@os='j'])"/> |
---|
| 81 | |
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 83 | href="../common/glibc.xml" |
---|
| 84 | xpointer="xpointer(//*[@os='k'])"/> |
---|
| 85 | |
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 87 | href="../common/glibc.xml" |
---|
| 88 | xpointer="xpointer(//*[@os='l'])"/> |
---|
| 89 | |
---|
[44aaa3d0] | 90 | <para os="l1">In multilib, we tend to think that compiling for |
---|
| 91 | <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis> |
---|
| 92 | cross-compiling. Glibc takes the traditional view that if you are building |
---|
[ac3984c] | 93 | for a different host then you are cross-compiling, so you won't be running |
---|
| 94 | the tests and therefore you don't need the locale files. When we run |
---|
[44aaa3d0] | 95 | the tests, many will fail if the locale files are missing. The following |
---|
| 96 | sed allows these tests to succeed:</para> |
---|
| 97 | |
---|
| 98 | <screen os="l2"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../glibc-2.4/localedata/Makefile</userinput></screen> |
---|
| 99 | |
---|
[3f8be484] | 100 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 101 | href="../common/glibc.xml" |
---|
| 102 | xpointer="xpointer(//*[@os='m'])"/> |
---|
| 103 | |
---|
| 104 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 105 | href="../common/glibc.xml" |
---|
| 106 | xpointer="xpointer(//*[@os='n'])"/> |
---|
| 107 | |
---|
| 108 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 109 | href="../common/glibc.xml" |
---|
| 110 | xpointer="xpointer(//*[@os='o'])"/> |
---|
| 111 | |
---|
| 112 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 113 | href="../common/glibc.xml" |
---|
| 114 | xpointer="xpointer(//*[@os='p'])"/> |
---|
| 115 | |
---|
| 116 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 117 | href="../common/glibc.xml" |
---|
| 118 | xpointer="xpointer(//*[@os='q'])"/> |
---|
| 119 | |
---|
| 120 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 121 | href="../common/glibc.xml" |
---|
| 122 | xpointer="xpointer(//*[@os='r'])"/> |
---|
| 123 | |
---|
| 124 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 125 | href="../common/glibc.xml" |
---|
| 126 | xpointer="xpointer(//*[@os='s'])"/> |
---|
| 127 | |
---|
| 128 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 129 | href="../common/glibc.xml" |
---|
| 130 | xpointer="xpointer(//*[@os='t'])"/> |
---|
| 131 | |
---|
| 132 | </sect2> |
---|
| 133 | |
---|
| 134 | <sect2 role="content"> |
---|
| 135 | <title/> |
---|
| 136 | |
---|
| 137 | <para>Details on this package are located in <xref |
---|
| 138 | linkend="contents-glibc" role="."/></para> |
---|
| 139 | |
---|
| 140 | </sect2> |
---|
| 141 | |
---|
| 142 | </sect1> |
---|