source: BOOK/final-system/sparc64-64/glibc.xml@ c304f4c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c304f4c was 44426cf, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Updated to Glibc 2.6. This includes adding a sed to Coreutils and Gzip to rename their internal implementations of futimens which are incompatible with the implementation provided by Glibc. Added a target tripplet based optimization to glibc on x86 and 32bit build on x86_64 so that glibc will build properly now that i386 is no longer supported. Also added a note to the build variables page the i386-pc-linux-gnu is not supported by glibc.

  • Property mode set to 100644
File size: 5.0 KB
Line 
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='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="../common/glibc.xml"
42 xpointer="xpointer(//*[@os='p1'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../common/glibc.xml"
46 xpointer="xpointer(//*[@os='p2'])"/>
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
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"
66 xpointer="xpointer(//*[@os='l1'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../x86_64-64/glibc.xml"
70 xpointer="xpointer(//*[@os='l2'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../common/glibc.xml"
74 xpointer="xpointer(//*[@os='g'])"/>
75
76<screen os="h"><userinput>CC="gcc ${BUILD64}" ../glibc-&glibc-version;/configure --prefix=/usr \
77 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
78 --libexecdir=/usr/lib/glibc --libdir=/usr/lib \
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'])"/>
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 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="../multilib/glibc-64bit.xml"
103 xpointer="xpointer(//*[@os='n'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../multilib/glibc-64bit.xml"
107 xpointer="xpointer(//*[@os='o'])"/>
108
109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
110 href="../multilib/glibc-64bit.xml"
111 xpointer="xpointer(//*[@os='p'])"/>
112
113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
114 href="../common/glibc.xml"
115 xpointer="xpointer(//*[@os='q'])"/>
116
117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
118 href="../common/glibc.xml"
119 xpointer="xpointer(//*[@os='r'])"/>
120
121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
122 href="../common/glibc.xml"
123 xpointer="xpointer(//*[@os='s'])"/>
124
125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
126 href="../common/glibc.xml"
127 xpointer="xpointer(//*[@os='t'])"/>
128
129 <para os="u">The stubs.h header installed by glibc looks for stubs-32.h
130 and stubs-64.h. This configuration of glibc only generates stubs-64.h. Fix
131 this with the following:</para>
132
133 <screen os="v"><userinput>mv -v /usr/include/gnu/stubs{-64,}.h</userinput></screen>
134
135 </sect2>
136
137 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
138 href="../common/glibc.xml"
139 xpointer="xpointer(id('i18n-glibc'))"/>
140
141 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
142 href="../common/glibc.xml"
143 xpointer="xpointer(id('conf-glibc'))"/>
144
145 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
146 href="../common/glibc.xml"
147 xpointer="xpointer(id('conf-ld'))"/>
148
149 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
150 href="../common/glibc.xml"
151 xpointer="xpointer(id('contents-glibc'))"/>
152
153</sect1>
Note: See TracBrowser for help on using the repository browser.