source: cross-tools/ppc/glibc.xml@ 3dcb90f

Last change on this file since 3dcb90f was 48f8316, checked in by Jim Gifford <clfs@…>, 19 years ago

r656@server (orig r654): manuel | 2005-11-08 12:18:58 -0800
Preparations to remove SBUs and DUs. Chapter cross-tools.

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