source: BOOK/cross-tools/ppc/glibc.xml@ 929aaed

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 929aaed was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 6.0 KB
Line 
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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-cross-tools-glibc" role="wrap">
11 <?dbhtml filename="glibc.html"?>
12
13 <title>Glibc-&glibc-version;</title>
14
15 <indexterm zone="ch-cross-tools-glibc">
16 <primary sortas="a-Glibc">Glibc</primary>
17 <secondary>cross tools</secondary>
18 </indexterm>
19
20 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/glibc.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/glibc.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Glibc</title>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../common/glibc.xml"
48 xpointer="xpointer(//*[@os='da'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../common/glibc.xml"
52 xpointer="xpointer(//*[@os='db'])"/>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../common/glibc.xml"
56 xpointer="xpointer(//*[@os='dc'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../common/glibc.xml"
60 xpointer="xpointer(//*[@os='c'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../common/glibc.xml"
64 xpointer="xpointer(//*[@os='d'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../common/glibc.xml"
68 xpointer="xpointer(//*[@os='e'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../common/glibc.xml"
72 xpointer="xpointer(//*[@os='f'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../common/glibc.xml"
76 xpointer="xpointer(//*[@os='dd'])"/>
77
78<screen><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
79echo "libc_cv_c_cleanup=yes" &gt;&gt; config.cache
80echo "libc_cv_ppc_machine=yes" &gt;&gt; config.cache</userinput></screen>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../../final-system/common/glibc.xml"
84 xpointer="xpointer(//*[@os='g'])"/>
85
86<screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
87 AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
88 ../glibc-&glibc-version;/configure --prefix=/tools \
89 --host=${LFS_TARGET} --build=${LFS_HOST} \
90 --disable-profile --enable-add-ons \
91 --with-tls --enable-kernel=2.6.0 --with-__thread \
92 --with-binutils=/cross-tools/bin --with-headers=/tools/include \
93 --cache-file=config.cache</userinput></screen>
94
95 <variablelist os="di">
96 <title>The meaning of the new configure options:</title>
97
98 <varlistentry os="di1">
99 <term><parameter>BUILD_CC="gcc"</parameter></term>
100 <listitem>
101 <para>This do ...</para>
102 </listitem>
103 </varlistentry>
104
105 <varlistentry os="di2">
106 <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term>
107 <listitem>
108 <para>This do ...</para>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry os="di3">
113 <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term>
114 <listitem>
115 <para>This do ...</para>
116 </listitem>
117 </varlistentry>
118
119 <varlistentry os="di4">
120 <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term>
121 <listitem>
122 <para>This do ...</para>
123 </listitem>
124 </varlistentry>
125
126 <varlistentry os="di5">
127 <term><parameter>--disable-profile</parameter></term>
128 <listitem>
129 <para>This do ...</para>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry os="di6">
134 <term><parameter>--enable-add-ons</parameter></term>
135 <listitem>
136 <para>This do ...</para>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry os="di7">
141 <term><parameter>--with-tls</parameter></term>
142 <listitem>
143 <para>This do ...</para>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry os="di8">
148 <term><parameter>--with-__thread</parameter></term>
149 <listitem>
150 <para>This do ...</para>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry os="di9">
155 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
156 <listitem>
157 <para>This do ...</para>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry os="di10">
162 <term><parameter>--cache-file=config.cache</parameter></term>
163 <listitem>
164 <para>This do ...</para>
165 </listitem>
166 </varlistentry>
167
168 </variablelist>
169
170 <para os="df">During this stage the following warning might appear:</para>
171
172<blockquote os="dg"><screen><computeroutput>configure: WARNING:
173*** These auxiliary programs are missing or
174*** incompatible versions: msgfmt
175*** some features will be disabled.
176*** Check the INSTALL file for required versions.</computeroutput></screen></blockquote>
177
178 <para os="dh">The missing or incompatible <command>msgfmt</command> program is
179 generally harmless. This <command>msgfmt</command> program is part of the
180 Gettext package which the host distribution should provide.</para>
181
182 <para os="dj">Compile the package:</para>
183
184<screen os="dk"><userinput>make</userinput></screen>
185
186 <para os="dl">Install the package:</para>
187
188<screen os="dm"><userinput>make install</userinput></screen>
189
190 </sect2>
191
192 <sect2 role="content">
193 <title/>
194
195 <para>Details on this package are located in <xref
196 linkend="contents-glibc" role="."/></para>
197
198 </sect2>
199
200</sect1>
Note: See TracBrowser for help on using the repository browser.