[bf8c11f] | 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" role="wrap">
|
---|
| 9 | <?dbhtml filename="glibc.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Glibc-&glibc-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-glibc">
|
---|
| 14 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
[1bb70b1] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../common/glibc.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of Glibc</title>
|
---|
| 23 |
|
---|
| 24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 25 | href="../common/glibc.xml"
|
---|
[531b5e5] | 26 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
[bf8c11f] | 27 |
|
---|
| 28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 29 | href="../common/glibc.xml"
|
---|
| 30 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="../common/glibc.xml"
|
---|
| 34 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 35 |
|
---|
| 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 37 | href="../common/glibc.xml"
|
---|
| 38 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 39 |
|
---|
| 40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 41 | href="../sparc/glibc.xml"
|
---|
| 42 | xpointer="xpointer(//*[@os='s1'])"/>
|
---|
| 43 |
|
---|
| 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 45 | href="../sparc/glibc.xml"
|
---|
| 46 | xpointer="xpointer(//*[@os='s2'])"/>
|
---|
| 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 49 | href="../common/glibc.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 51 |
|
---|
| 52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 53 | href="../common/glibc.xml"
|
---|
| 54 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 55 |
|
---|
[9a8439f] | 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="../sparc64/glibc-64bit.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='t1'])"/>
|
---|
| 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="../sparc64/glibc-64bit.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='t2'])"/>
|
---|
| 63 |
|
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 65 | href="../x86_64-64/glibc.xml"
|
---|
[d13db6b] | 66 | xpointer="xpointer(//*[@os='l1'])"/>
|
---|
[bf8c11f] | 67 |
|
---|
[9a8439f] | 68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 69 | href="../x86_64-64/glibc.xml"
|
---|
| 70 | xpointer="xpointer(//*[@os='l2'])"/>
|
---|
[bf8c11f] | 71 |
|
---|
| 72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 73 | href="../common/glibc.xml"
|
---|
| 74 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 75 |
|
---|
[6f6f8f7] | 76 | <screen os="h"><userinput>CC="gcc ${BUILD64}" ../glibc-&glibc-version;/configure --prefix=/usr \
|
---|
[bf8c11f] | 77 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
[19505306] | 78 | --libexecdir=/usr/lib/glibc --libdir=/usr/lib \
|
---|
[9a8439f] | 79 | --cache-file=config.cache</userinput></screen>
|
---|
| 80 |
|
---|
| 81 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 82 | href="../x86_64-64/glibc.xml"
|
---|
| 83 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
[bf8c11f] | 84 |
|
---|
| 85 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 86 | href="../common/glibc.xml"
|
---|
| 87 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 88 |
|
---|
| 89 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 90 | href="../common/glibc.xml"
|
---|
| 91 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 92 |
|
---|
| 93 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 94 | href="../common/glibc.xml"
|
---|
| 95 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 96 |
|
---|
| 97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 98 | href="../common/glibc.xml"
|
---|
| 99 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 100 |
|
---|
| 101 | <!-- test comments from 64bit which is clean -->
|
---|
| 102 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 103 | href="../multilib/glibc-64bit.xml"
|
---|
| 104 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 105 |
|
---|
| 106 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 107 | href="../common/glibc.xml"
|
---|
| 108 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 109 |
|
---|
| 110 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 111 | href="../common/glibc.xml"
|
---|
| 112 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 113 |
|
---|
| 114 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 115 | href="../common/glibc.xml"
|
---|
| 116 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 117 |
|
---|
| 118 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 119 | href="../common/glibc.xml"
|
---|
| 120 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 121 |
|
---|
[6f6f8f7] | 122 | <para os="u">The stubs.h header installed by glibc looks for stubs-32.h
|
---|
| 123 | and stubs-64.h. This configuration of glibc only generates stubs-64.h. Fix
|
---|
| 124 | this with the following:</para>
|
---|
| 125 |
|
---|
| 126 | <screen os="v"><userinput>mv -v /usr/include/gnu/stubs{-64,}.h</userinput></screen>
|
---|
| 127 |
|
---|
[bf8c11f] | 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 131 | href="../common/glibc.xml"
|
---|
| 132 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
| 133 |
|
---|
| 134 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 135 | href="../common/glibc.xml"
|
---|
| 136 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
| 137 |
|
---|
| 138 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 139 | href="../common/glibc.xml"
|
---|
| 140 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
| 141 |
|
---|
| 142 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 143 | href="../common/glibc.xml"
|
---|
| 144 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
| 145 |
|
---|
| 146 | </sect1>
|
---|