source: BOOK/final-system/multilib/glibc.xml@ 5f80049

sysvinit
Last change on this file since 5f80049 was c0c70554, checked in by Chris Staub <chris@…>, 9 years ago

No need to use --disable-profile on Glibc

  • Property mode set to 100644
File size: 4.2 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='b'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
42 href="../common/glibc.xml"
43 xpointer="xpointer(//*[@os='e'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
46 href="../common/glibc.xml"
47 xpointer="xpointer(//*[@os='f'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
50 href="../common/glibc.xml"
51 xpointer="xpointer(//*[@os='g'])"/>
52
53<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
54../glibc-&glibc-version;/configure \
55 --prefix=/usr \
56 --enable-kernel=&glibc-kernel-version; \
57 --libexecdir=/usr/lib/glibc \
58 --host=${CLFS_TARGET32} \
59 --enable-obsolete-rpc</userinput></screen>
60
61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62 href="../common/glibc.xml"
63 xpointer="xpointer(//*[@os='i'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66 href="../common/glibc.xml"
67 xpointer="xpointer(//*[@os='j'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
70 href="../common/glibc.xml"
71 xpointer="xpointer(//*[@os='k'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
74 href="../common/glibc.xml"
75 xpointer="xpointer(//*[@os='l'])"/>
76
77 <para os="l1b">In multilib, we tend to think that compiling for
78 <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis>
79 cross-compiling. Glibc takes the traditional view that if you are building
80 for a different host then you are cross-compiling, so you won't be running
81 the tests and therefore you don't need the locale files. When we run
82 the tests, many will fail if the locale files are missing. The following
83 sed allows these tests to succeed:</para>
84
85<screen os="l2b"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../glibc-&glibc-version;/localedata/Makefile</userinput></screen>
86
87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
88 href="../common/glibc.xml"
89 xpointer="xpointer(//*[@os='m'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
92 href="../common/glibc.xml"
93 xpointer="xpointer(//*[@os='n'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
96 href="../common/glibc.xml"
97 xpointer="xpointer(//*[@os='o'])"/>
98
99 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
100 href="../common/glibc.xml"
101 xpointer="xpointer(//*[@os='p'])"/>
102
103 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
104 href="../common/glibc.xml"
105 xpointer="xpointer(//*[@os='q'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
108 href="../common/glibc.xml"
109 xpointer="xpointer(//*[@os='r'])"/>
110
111 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
112 href="../common/glibc.xml"
113 xpointer="xpointer(//*[@os='s'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
116 href="../common/glibc.xml"
117 xpointer="xpointer(//*[@os='t'])"/>
118
119 </sect2>
120
121 <sect2 role="content">
122 <title/>
123
124 <para>Details on this package are located in <xref
125 linkend="contents-glibc" role="."/></para>
126
127 </sect2>
128
129</sect1>
Note: See TracBrowser for help on using the repository browser.