source: BOOK/final-system/multilib/glibc.xml@ 38de0aa

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 38de0aa was cbbd1e4, checked in by William Harrington <kb0iic@…>, 11 years ago

Migrating EGLIBC to GLIBC since EGLIBC is end of life at 2_19 branch. Mailing list suggests using Glibc unless strict need of use from eglibc 2_19 branch. Trunk is frozen. Rename all EGLIBC and Eglibc and eglibc text to GLIBC Glibc and glibc.

  • Property mode set to 100644
File size: 4.7 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-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
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../common/glibc.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of GLIBC</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../common/glibc.xml"
27 xpointer="xpointer(//*[@os='z'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../common/glibc.xml"
31 xpointer="xpointer(//*[@os='l1'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
34 href="../common/glibc.xml"
35 xpointer="xpointer(//*[@os='l2'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
38 href="../common/glibc.xml"
39 xpointer="xpointer(//*[@os='l3'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
42 href="../common/glibc.xml"
43 xpointer="xpointer(//*[@os='l4'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
46 href="../common/glibc.xml"
47 xpointer="xpointer(//*[@os='b'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
50 href="../common/glibc.xml"
51 xpointer="xpointer(//*[@os='s1'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
54 href="../common/glibc.xml"
55 xpointer="xpointer(//*[@os='s2'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
58 href="../common/glibc.xml"
59 xpointer="xpointer(//*[@os='e'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62 href="../common/glibc.xml"
63 xpointer="xpointer(//*[@os='f'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66 href="../common/glibc.xml"
67 xpointer="xpointer(//*[@os='g'])"/>
68
69<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
70 ../glibc-&glibc-version;/configure --prefix=/usr \
71 --disable-profile --enable-kernel=2.6.32 \
72 --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET32} \
73 --enable-obsolete-rpc</userinput></screen>
74
75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
76 href="../common/glibc.xml"
77 xpointer="xpointer(//*[@os='i'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
80 href="../common/glibc.xml"
81 xpointer="xpointer(//*[@os='j'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
84 href="../common/glibc.xml"
85 xpointer="xpointer(//*[@os='k'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
88 href="../common/glibc.xml"
89 xpointer="xpointer(//*[@os='l'])"/>
90
91 <para os="l1b">In multilib, we tend to think that compiling for
92 <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis>
93 cross-compiling. GLIBC takes the traditional view that if you are building
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
96 the tests, many will fail if the locale files are missing. The following
97 sed allows these tests to succeed:</para>
98
99<screen os="l2b"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../glibc-&glibc-version;/localedata/Makefile</userinput></screen>
100
101 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
102 href="../common/glibc.xml"
103 xpointer="xpointer(//*[@os='m'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
106 href="../common/glibc.xml"
107 xpointer="xpointer(//*[@os='n'])"/>
108
109 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
110 href="../common/glibc.xml"
111 xpointer="xpointer(//*[@os='o'])"/>
112
113 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
114 href="../common/glibc.xml"
115 xpointer="xpointer(//*[@os='p'])"/>
116
117 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
118 href="../common/glibc.xml"
119 xpointer="xpointer(//*[@os='q'])"/>
120
121 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
122 href="../common/glibc.xml"
123 xpointer="xpointer(//*[@os='r'])"/>
124
125 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
126 href="../common/glibc.xml"
127 xpointer="xpointer(//*[@os='s'])"/>
128
129 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
130 href="../common/glibc.xml"
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
139 linkend="contents-glibc" role="."/></para>
140
141 </sect2>
142
143</sect1>
Note: See TracBrowser for help on using the repository browser.