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

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

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

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