1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/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 |
|
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
18 | href="../common/glibc.xml"
|
---|
19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
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"
|
---|
26 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
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='p1'])"/>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="../common/glibc.xml"
|
---|
38 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="../common/glibc.xml"
|
---|
42 | xpointer="xpointer(//*[@os='p3'])"/>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="../common/glibc.xml"
|
---|
46 | xpointer="xpointer(//*[@os='p4'])"/>
|
---|
47 |
|
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
49 | href="../common/glibc.xml"
|
---|
50 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
51 |
|
---|
52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
53 | href="../common/glibc.xml"
|
---|
54 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
55 |
|
---|
56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
57 | href="../common/glibc.xml"
|
---|
58 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
59 |
|
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
61 | href="../common/glibc.xml"
|
---|
62 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
63 |
|
---|
64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
65 | href="../sparc64/glibc-64bit.xml"
|
---|
66 | xpointer="xpointer(//*[@os='t1'])"/>
|
---|
67 |
|
---|
68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
69 | href="../sparc64/glibc-64bit.xml"
|
---|
70 | xpointer="xpointer(//*[@os='t2'])"/>
|
---|
71 |
|
---|
72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
73 | href="../x86_64-64/glibc.xml"
|
---|
74 | xpointer="xpointer(//*[@os='l1'])"/>
|
---|
75 |
|
---|
76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
77 | href="../x86_64-64/glibc.xml"
|
---|
78 | xpointer="xpointer(//*[@os='l2'])"/>
|
---|
79 |
|
---|
80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
81 | href="../common/glibc.xml"
|
---|
82 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
83 |
|
---|
84 | <screen os="h"><userinput>CC="gcc ${BUILD64}" ../glibc-&glibc-version;/configure --prefix=/usr \
|
---|
85 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
86 | --libexecdir=/usr/lib/glibc --libdir=/usr/lib \
|
---|
87 | --cache-file=config.cache</userinput></screen>
|
---|
88 |
|
---|
89 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
90 | href="../x86_64-64/glibc.xml"
|
---|
91 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
92 |
|
---|
93 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
94 | href="../common/glibc.xml"
|
---|
95 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
96 |
|
---|
97 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
98 | href="../common/glibc.xml"
|
---|
99 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
100 |
|
---|
101 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
102 | href="../common/glibc.xml"
|
---|
103 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
104 |
|
---|
105 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
106 | href="../common/glibc.xml"
|
---|
107 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
108 |
|
---|
109 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
110 | href="../multilib/glibc-64bit.xml"
|
---|
111 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
112 |
|
---|
113 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
114 | href="../multilib/glibc-64bit.xml"
|
---|
115 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
116 |
|
---|
117 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
118 | href="../multilib/glibc-64bit.xml"
|
---|
119 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
120 |
|
---|
121 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
122 | href="../common/glibc.xml"
|
---|
123 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
124 |
|
---|
125 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
126 | href="../common/glibc.xml"
|
---|
127 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
128 |
|
---|
129 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
130 | href="../common/glibc.xml"
|
---|
131 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
132 |
|
---|
133 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
134 | href="../common/glibc.xml"
|
---|
135 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
136 |
|
---|
137 | <para os="u">The stubs.h header installed by glibc looks for stubs-32.h
|
---|
138 | and stubs-64.h. This configuration of glibc only generates stubs-64.h. Fix
|
---|
139 | this with the following:</para>
|
---|
140 |
|
---|
141 | <screen os="v"><userinput>mv -v /usr/include/gnu/stubs{-64,}.h</userinput></screen>
|
---|
142 |
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
146 | href="../common/glibc.xml"
|
---|
147 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
148 |
|
---|
149 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
150 | href="../common/glibc.xml"
|
---|
151 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
152 |
|
---|
153 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
154 | href="../common/glibc.xml"
|
---|
155 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
156 |
|
---|
157 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
158 | href="../common/glibc.xml"
|
---|
159 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
160 |
|
---|
161 | </sect1>
|
---|