source: BOOK/cross-tools/ppc64/glibc-64bit.xml@ 4631c1c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4631c1c was a80ea23, checked in by Jim Gifford <clfs@…>, 19 years ago

r3169@server (orig r1482): ken | 2006-04-28 14:25:51 -0700
ppc64 - fix glibc for 2.4 and recent headers.

  • Property mode set to 100644
File size: 4.7 KB
RevLine 
[a80ea23]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-cross-tools-glibc-64" role="wrap">
9 <?dbhtml filename="glibc-64.html"?>
10
11 <title>Glibc-&glibc-version; 64-Bit</title>
12
13 <indexterm zone="ch-cross-tools-glibc-64">
14 <primary sortas="a-Glibc">Glibc</primary>
15 <secondary>cross tools, 64 Bit</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/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/2003/XInclude"
26 href="glibc.xml"
27 xpointer="xpointer(//*[@os='da'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="glibc.xml"
31 xpointer="xpointer(//*[@os='db'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="glibc.xml"
35 xpointer="xpointer(//*[@os='dc'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/glibc.xml"
39 xpointer="xpointer(//*[@os='c'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="../../final-system/common/glibc.xml"
43 xpointer="xpointer(//*[@os='d'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="glibc.xml"
47 xpointer="xpointer(//*[@os='s1'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="glibc.xml"
51 xpointer="xpointer(//*[@os='s2'])"/>
52
53 <para os="t1">Repeat the sed to fix <filename>procfs.h</filename>.</para>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="glibc.xml"
57 xpointer="xpointer(//*[@os='t2'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="glibc.xml"
61 xpointer="xpointer(//*[@os='e'])"/>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="glibc.xml"
65 xpointer="xpointer(//*[@os='f'])"/>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="glibc.xml"
69 xpointer="xpointer(//*[@os='dd'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="glibc.xml"
73 xpointer="xpointer(//*[@os='de'])"/>
74
75 <para os="n1">Now we make sure the Glibc goes into <filename
76 class="directory">/tools/lib64</filename>:</para>
77
78<screen os="n2"><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="glibc.xml"
82 xpointer="xpointer(//*[@os='g'])"/>
83
84<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
85 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
86 ../glibc-&glibc-version;/configure --prefix=/tools \
87 --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
88 --disable-profile --enable-add-ons \
89 --with-tls --enable-kernel=2.6.0 --with-__thread \
90 --with-binutils=/cross-tools/bin --with-headers=/tools/include \
91 --cache-file=config.cache</userinput></screen>
92
93 <variablelist os="dg">
94 <title>The meaning of the new configure options:</title>
95
96 <varlistentry os="fa1">
97 <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
98 <listitem>
99 <para>Forces Glibc to utilize our target architecture GCC utilizing
100 the 64 Bit flags.</para>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry os="fa2">
105 <term><parameter>--libdir=/tools/lib64</parameter></term>
106 <listitem>
107 <para>Puts Glibc into /tools/lib64 instead of /tools/lib.</para>
108 </listitem>
109 </varlistentry>
110
111 </variablelist>
112
113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
114 href="glibc.xml"
115 xpointer="xpointer(//*[@os='dh'])"/>
116
117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
118 href="glibc.xml"
119 xpointer="xpointer(//*[@os='di'])"/>
120
121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
122 href="glibc.xml"
123 xpointer="xpointer(//*[@os='dj'])"/>
124
125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
126 href="glibc.xml"
127 xpointer="xpointer(//*[@os='dk'])"/>
128
129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
130 href="glibc.xml"
131 xpointer="xpointer(//*[@os='dl'])"/>
132
133 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
134 href="glibc.xml"
135 xpointer="xpointer(//*[@os='dm'])"/>
136
137 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
138 href="glibc.xml"
139 xpointer="xpointer(//*[@os='dn'])"/>
140
141 </sect2>
142
143 <sect2 role="content">
144 <title/>
145
146 <para>Details on this package are located in <xref
147 linkend="contents-glibc" role="."/></para>
148
149 </sect2>
150
151</sect1>
Note: See TracBrowser for help on using the repository browser.