source: BOOK/final-system/mips64/glibc-n32.xml@ f0f1d38

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f0f1d38 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.5 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-n32" role="wrap">
9 <?dbhtml filename="glibc-n32.html"?>
10
11 <title>GLIBC-&glibc-version; N32</title>
12
13 <indexterm zone="ch-system-glibc-n32">
14 <primary sortas="a-GLIBC">GLIBC</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
18 href="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/2001/XInclude"
25 href="../common/glibc.xml"
26 xpointer="xpointer(//*[@os='l1'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
29 href="../common/glibc.xml"
30 xpointer="xpointer(//*[@os='l2'])"/>
31
32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
33 href="../common/glibc.xml"
34 xpointer="xpointer(//*[@os='l3'])"/>
35
36<screen os="l4"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
37sed -i "s|libs -o|libs -L/usr/lib32 -Wl,-dynamic-linker=${LINKER} -o|" \
38 scripts/test-installation.pl
39unset LINKER</userinput></screen>
40
41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
42 href="glibc.xml"
43 xpointer="xpointer(//*[@os='b'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
46 href="glibc-64bit.xml"
47 xpointer="xpointer(//*[@os='m3'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
50 href="glibc-64bit.xml"
51 xpointer="xpointer(//*[@os='m4'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
54 href="../common/glibc.xml"
55 xpointer="xpointer(//*[@os='s1'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
58 href="../common/glibc.xml"
59 xpointer="xpointer(//*[@os='s2'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62 href="glibc.xml"
63 xpointer="xpointer(//*[@os='e'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66 href="glibc.xml"
67 xpointer="xpointer(//*[@os='f'])"/>
68
69 <para os="m1">Tell GLIBC to install its 32-bit libraries into
70 <filename class="directory">/lib32</filename>:</para>
71
72<screen os="m2"><userinput>echo "slibdir=/lib32" &gt;&gt; configparms</userinput></screen>
73
74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
75 href="glibc.xml"
76 xpointer="xpointer(//*[@os='g'])"/>
77
78<screen os="h"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
79 ../glibc-&glibc-version;/configure --prefix=/usr \
80 --disable-profile --enable-kernel=2.6.32 \
81 --libexecdir=/usr/lib32/glibc --libdir=/usr/lib32 \
82 --enable-obsolete-rpc</userinput></screen>
83
84 <variablelist os="i">
85 <title>The meaning of the new configure option:</title>
86
87 <varlistentry>
88 <term><parameter>--libexecdir=/usr/lib32/glibc</parameter></term>
89 <listitem>
90 <para>This changes the location of the <command>getconf</command>
91 program from its default of <filename
92 class="directory">/usr/libexec</filename> to <filename
93 class="directory">/usr/lib32/glibc</filename>.</para>
94 </listitem>
95 </varlistentry>
96 </variablelist>
97
98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
99 href="glibc.xml"
100 xpointer="xpointer(//*[@os='j'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
103 href="glibc.xml"
104 xpointer="xpointer(//*[@os='k'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
107 href="glibc.xml"
108 xpointer="xpointer(//*[@os='l'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
111 href="glibc.xml"
112 xpointer="xpointer(//*[@os='m'])"/>
113
114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
115 href="../multilib/glibc-64bit.xml"
116 xpointer="xpointer(//*[@os='n'])"/>
117
118 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
119 href="../multilib/glibc-64bit.xml"
120 xpointer="xpointer(//*[@os='o'])"/>
121
122 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
123 href="../multilib/glibc-64bit.xml"
124 xpointer="xpointer(//*[@os='p'])"/>
125
126 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
127 href="glibc.xml"
128 xpointer="xpointer(//*[@os='s'])"/>
129
130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="glibc.xml"
132 xpointer="xpointer(//*[@os='t'])"/>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title/>
138
139 <para>Details on this package are located in <xref
140 linkend="contents-glibc" role="."/></para>
141
142 </sect2>
143
144</sect1>
Note: See TracBrowser for help on using the repository browser.