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