1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-cross-tools-eglibc" role="wrap">
|
---|
9 | <?dbhtml filename="eglibc.html"?>
|
---|
10 |
|
---|
11 | <title>EGLIBC-&eglibc-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-cross-tools-eglibc">
|
---|
14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
15 | <secondary>cross tools</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <sect2 role="package">
|
---|
19 | <title/>
|
---|
20 |
|
---|
21 | <para>The EGLIBC package contains the main C library. This library provides
|
---|
22 | the basic routines for allocating memory, searching directories, opening and
|
---|
23 | closing files, reading and writing files, string handling, pattern matching,
|
---|
24 | arithmetic, and so on.</para>
|
---|
25 |
|
---|
26 | </sect2>
|
---|
27 |
|
---|
28 | <sect2 role="installation">
|
---|
29 | <title>Installation of EGLIBC</title>
|
---|
30 |
|
---|
31 | <note os="a">
|
---|
32 | <para>Some packages outside of CLFS suggest installing GNU libiconv in
|
---|
33 | order to translate data from one encoding to another. The project's
|
---|
34 | home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
|
---|
35 | <quote>This library provides an <function>iconv()</function>
|
---|
36 | implementation, for use on systems which don't have one, or whose
|
---|
37 | implementation cannot convert from/to Unicode.</quote> EGLIBC provides
|
---|
38 | an <function>iconv()</function> implementation and can convert from/to
|
---|
39 | Unicode, therefore libiconv is not required on an CLFS system.</para>
|
---|
40 | </note>
|
---|
41 |
|
---|
42 | <para os="p1">EGLIBC has various issues addressed by the following patch:</para>
|
---|
43 |
|
---|
44 | <screen os="p2"><userinput>patch -Np1 -i ../&eglibc-fixes-patch;</userinput></screen>
|
---|
45 |
|
---|
46 | <para os="s1">Disable linking to <filename>libgcc_eh</filename>:</para>
|
---|
47 |
|
---|
48 | <screen os="s2"><userinput>cp -v Makeconfig{,.orig}
|
---|
49 | sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen>
|
---|
50 |
|
---|
51 | <para os="b">The EGLIBC documentation recommends building EGLIBC outside of the
|
---|
52 | source directory in a dedicated build directory:</para>
|
---|
53 |
|
---|
54 | <screen os="c"><userinput>mkdir -v ../eglibc-build
|
---|
55 | cd ../eglibc-build</userinput></screen>
|
---|
56 |
|
---|
57 | <para os="d">The following lines need to be added to
|
---|
58 | <filename>config.cache</filename> for EGLIBC to support NPTL:</para>
|
---|
59 |
|
---|
60 | <screen os="e"><userinput>cat > config.cache << EOF
|
---|
61 | libc_cv_forced_unwind=yes
|
---|
62 | libc_cv_c_cleanup=yes
|
---|
63 | libc_cv_gnu89_inline=yes
|
---|
64 | EOF</userinput></screen>
|
---|
65 |
|
---|
66 | <para os="f">The following line needs to be added to
|
---|
67 | <filename>configparms</filename> to adjust installation paths:</para>
|
---|
68 |
|
---|
69 | <screen os="g"><userinput>cat > configparms << EOF
|
---|
70 | install_root=${CLFS}
|
---|
71 | EOF</userinput></screen>
|
---|
72 |
|
---|
73 | <para os="h">Prepare EGLIBC for compilation:</para>
|
---|
74 |
|
---|
75 | <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
|
---|
76 | AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
|
---|
77 | ../eglibc-&eglibc-version;/configure --prefix=/usr \
|
---|
78 | --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \
|
---|
79 | --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.0 \
|
---|
80 | --with-__thread --with-binutils=${CLFS}/cross-tools/bin \
|
---|
81 | --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen>
|
---|
82 |
|
---|
83 | <variablelist os="j">
|
---|
84 | <title>The meaning of the new configure options:</title>
|
---|
85 |
|
---|
86 | <varlistentry os="j1">
|
---|
87 | <term><parameter>BUILD_CC="gcc"</parameter></term>
|
---|
88 | <listitem>
|
---|
89 | <para>This tells EGLIBC to use the compiler on the host system. This is
|
---|
90 | used to create the tools EGLIBC uses during its build.</para>
|
---|
91 | </listitem>
|
---|
92 | </varlistentry>
|
---|
93 |
|
---|
94 | <varlistentry os="j2">
|
---|
95 | <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term>
|
---|
96 | <listitem>
|
---|
97 | <para>This forces EGLIBC to use the GCC compiler that we made for our target
|
---|
98 | architecture.</para>
|
---|
99 | </listitem>
|
---|
100 | </varlistentry>
|
---|
101 |
|
---|
102 | <varlistentry os="j3">
|
---|
103 | <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term>
|
---|
104 | <listitem>
|
---|
105 | <para>This forces EGLIBC to use the <command>ar</command> utility
|
---|
106 | we made for our target architecture.</para>
|
---|
107 | </listitem>
|
---|
108 | </varlistentry>
|
---|
109 |
|
---|
110 | <varlistentry os="j4">
|
---|
111 | <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term>
|
---|
112 | <listitem>
|
---|
113 | <para>This forces EGLIBC to use the <command>ranlib</command> utility
|
---|
114 | we made for our target architecture.</para>
|
---|
115 | </listitem>
|
---|
116 | </varlistentry>
|
---|
117 |
|
---|
118 | <varlistentry os="j5">
|
---|
119 | <term><parameter>--disable-profile</parameter></term>
|
---|
120 | <listitem>
|
---|
121 | <para>This builds the libraries without profiling information.
|
---|
122 | Omit this option if profiling on the temporary tools is necessary.</para>
|
---|
123 | </listitem>
|
---|
124 | </varlistentry>
|
---|
125 |
|
---|
126 | <varlistentry os="j6">
|
---|
127 | <term><parameter>--enable-add-ons</parameter></term>
|
---|
128 | <listitem>
|
---|
129 | <para>This tells EGLIBC to utilize all add-ons that are
|
---|
130 | available.</para>
|
---|
131 | </listitem>
|
---|
132 | </varlistentry>
|
---|
133 |
|
---|
134 | <varlistentry os="j7">
|
---|
135 | <term><parameter>--with-tls</parameter></term>
|
---|
136 | <listitem>
|
---|
137 | <para>This tells EGLIBC to use Thread Local Storage.</para>
|
---|
138 | </listitem>
|
---|
139 | </varlistentry>
|
---|
140 |
|
---|
141 | <varlistentry os="j8">
|
---|
142 | <term><parameter>--with-__thread</parameter></term>
|
---|
143 | <listitem>
|
---|
144 | <para>This tells EGLIBC to use use the __thread for libc and
|
---|
145 | libpthread builds.</para>
|
---|
146 | </listitem>
|
---|
147 | </varlistentry>
|
---|
148 |
|
---|
149 | <varlistentry os="j9">
|
---|
150 | <term><parameter>--with-binutils=${CLFS}/cross-tools/bin</parameter></term>
|
---|
151 | <listitem>
|
---|
152 | <para>This tells EGLIBC to use the Binutils that are specific to
|
---|
153 | our target architecture.</para>
|
---|
154 | </listitem>
|
---|
155 | </varlistentry>
|
---|
156 |
|
---|
157 | <varlistentry os="j10">
|
---|
158 | <term><parameter>--cache-file=config.cache</parameter></term>
|
---|
159 | <listitem>
|
---|
160 | <para>This tells EGLIBC to utilize a premade cache file.</para>
|
---|
161 | </listitem>
|
---|
162 | </varlistentry>
|
---|
163 |
|
---|
164 | </variablelist>
|
---|
165 |
|
---|
166 | <para os="k">During this stage the following warning might appear:</para>
|
---|
167 |
|
---|
168 | <blockquote os="l"><screen><computeroutput>configure: WARNING:
|
---|
169 | *** These auxiliary programs are missing or
|
---|
170 | *** incompatible versions: msgfmt
|
---|
171 | *** some features will be disabled.
|
---|
172 | *** Check the INSTALL file for required versions.</computeroutput></screen></blockquote>
|
---|
173 |
|
---|
174 | <para os="m">The missing or incompatible <command>msgfmt</command> program is
|
---|
175 | generally harmless. This <command>msgfmt</command> program is part of the
|
---|
176 | Gettext package which the host distribution should provide.</para>
|
---|
177 |
|
---|
178 | <para os="n">Compile the package:</para>
|
---|
179 |
|
---|
180 | <screen os="o"><userinput>make</userinput></screen>
|
---|
181 |
|
---|
182 | <para os="p">Install the package:</para>
|
---|
183 |
|
---|
184 | <screen os="q"><userinput>make install</userinput></screen>
|
---|
185 |
|
---|
186 | </sect2>
|
---|
187 |
|
---|
188 | <sect2 id="i18n-eglibc" role="configuration">
|
---|
189 | <title>Internationalization</title>
|
---|
190 |
|
---|
191 | <para>To install locales we need to compile our own version of
|
---|
192 | localedef to run nativly on the host system, so we have to extract the
|
---|
193 | eglibc-localedef-&eglibc-version; package into our eglibc-&eglibc-version;
|
---|
194 | directory:</para>
|
---|
195 |
|
---|
196 | <screen><userinput>tar -jxvf ../eglibc-localedef-&eglibc-ports-dl-version;.tar.bz2
|
---|
197 | cd localedef</userinput></screen>
|
---|
198 |
|
---|
199 | <para>Prepare localedef for compilation:</para>
|
---|
200 |
|
---|
201 | <screen><userinput>./configure --prefix=${CLFS}/usr \
|
---|
202 | --with-glibc=../../eglibc-&eglibc-version;</userinput></screen>
|
---|
203 |
|
---|
204 | <para>Compile the package:</para>
|
---|
205 |
|
---|
206 | <screen><userinput>make</userinput></screen>
|
---|
207 |
|
---|
208 | <para>The locales that can make the system respond in a different
|
---|
209 | language were not installed with EGLIBC. Install them
|
---|
210 | with:</para>
|
---|
211 |
|
---|
212 | <screen><userinput>make install-locales</userinput></screen>
|
---|
213 |
|
---|
214 | <para>To save time, an alternative to running the previous command (which
|
---|
215 | generates and installs every locale listed in the
|
---|
216 | eglibc-&eglibc-version;/localedata/SUPPORTED file) is to install only
|
---|
217 | those locales that are wanted and needed. This can be achieved by using
|
---|
218 | the <command>localedef</command> command. Information on this command is
|
---|
219 | located in the <filename>INSTALL</filename> file in the EGLIBC source.
|
---|
220 | However, there are a number of locales that are essential in order for the
|
---|
221 | tests of future packages to pass, in particular, the
|
---|
222 | <emphasis>libstdc++</emphasis> tests from GCC. The following instructions,
|
---|
223 | instead of the <parameter>install-locales</parameter> target used above,
|
---|
224 | will install the minimum set of locales necessary for the tests to run
|
---|
225 | successfully:</para>
|
---|
226 |
|
---|
227 | <screen role="nodump"><userinput>make SUPPORTED-LOCALES="de_DE.UTF-8/UTF-8 de_DE/ISO-8859-1 de_DE@euro/ISO-8859-15 \
|
---|
228 | en_HK.UTF-8/UTF-8 en_HK/ISO-8859-1 \
|
---|
229 | en_PH.UTF-8/UTF-8 en_PH/ISO-8859-1 \
|
---|
230 | en_US.UTF-8/UTF-8 en_US/ISO-8859-1 \
|
---|
231 | es_MX.UTF-8/UTF-8 es_MX/ISO-8859-1 \
|
---|
232 | fa_IR/UTF-8 \
|
---|
233 | fr_FR.UTF-8/UTF-8 fr_FR/ISO-8859-1 fr_FR@euro/ISO-8859-15 \
|
---|
234 | it_IT.UTF-8/UTF-8 it_IT/ISO-8859-1 \
|
---|
235 | ja_JP.EUC-JP/EUC-JP ja_JP.UTF-8/UTF-8" install-locales</userinput></screen>
|
---|
236 |
|
---|
237 | <para>Some locales installed by the <command>make
|
---|
238 | localedata/install-locales</command> command above are not properly
|
---|
239 | supported by some applications that are in the CLFS and CBLFS books. Because
|
---|
240 | of the various problems that arise due to application programmers making
|
---|
241 | assumptions that break in such locales, CLFS should not be used in locales
|
---|
242 | that utilize multibyte character sets (including UTF-8) or right-to-left
|
---|
243 | writing order. Numerous unofficial and unstable patches are required to
|
---|
244 | fix these problems, and it has been decided by the CLFS developers not to
|
---|
245 | support such complex locales at this time. This applies to the ja_JP and
|
---|
246 | fa_IR locales as well—they have been installed only for GCC and
|
---|
247 | Gettext tests to pass, and the <command>watch</command> program (part of
|
---|
248 | the Procps package) does not work properly in them. Various attempts to
|
---|
249 | circumvent these restrictions are documented in internationalization-related
|
---|
250 | hints.</para>
|
---|
251 |
|
---|
252 | </sect2>
|
---|
253 |
|
---|
254 | <sect2 id="conf-eglibc" role="configuration">
|
---|
255 | <title>Configuring EGLIBC</title>
|
---|
256 |
|
---|
257 | <indexterm zone="conf-eglibc">
|
---|
258 | <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
|
---|
259 | </indexterm>
|
---|
260 |
|
---|
261 | <indexterm zone="conf-eglibc">
|
---|
262 | <primary sortas="e-/etc/localtime">/etc/localtime</primary>
|
---|
263 | </indexterm>
|
---|
264 |
|
---|
265 | <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
|
---|
266 | because, although EGLIBC provides defaults when this file is missing or
|
---|
267 | corrupt, the EGLIBC defaults do not work well in a networked environment.
|
---|
268 | The time zone also needs to be configured.</para>
|
---|
269 |
|
---|
270 | <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running
|
---|
271 | the following:</para>
|
---|
272 |
|
---|
273 | <screen><userinput>cat > ${CLFS}/etc/nsswitch.conf << "EOF"
|
---|
274 | <literal># Begin /etc/nsswitch.conf
|
---|
275 |
|
---|
276 | passwd: files
|
---|
277 | group: files
|
---|
278 | shadow: files
|
---|
279 |
|
---|
280 | hosts: files dns
|
---|
281 | networks: files
|
---|
282 |
|
---|
283 | protocols: files
|
---|
284 | services: files
|
---|
285 | ethers: files
|
---|
286 | rpc: files
|
---|
287 |
|
---|
288 | # End /etc/nsswitch.conf</literal>
|
---|
289 | EOF</userinput></screen>
|
---|
290 |
|
---|
291 | <para>To determine the local time zone, run the following script:</para>
|
---|
292 |
|
---|
293 | <screen role="nodump"><userinput>TZDIR="${CLFS}/usr/share/zoneinfo" ${CLFS}/usr/bin/tzselect</userinput></screen>
|
---|
294 |
|
---|
295 | <para>After answering a few questions about the location, the script will
|
---|
296 | output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
|
---|
297 | <emphasis>Canada/Eastern</emphasis>). Then create the
|
---|
298 | <filename>/etc/localtime</filename> file by running:</para>
|
---|
299 |
|
---|
300 | <screen><userinput>cp -v --remove-destination ${CLFS}/usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
|
---|
301 | ${CLFS}/etc/localtime</userinput></screen>
|
---|
302 |
|
---|
303 | <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
|
---|
304 | that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
|
---|
305 |
|
---|
306 | <variablelist>
|
---|
307 | <title>The meaning of the cp option:</title>
|
---|
308 |
|
---|
309 | <varlistentry>
|
---|
310 | <term><parameter>--remove-destination</parameter></term>
|
---|
311 | <listitem>
|
---|
312 | <para>This is needed to force removal of the already existing symbolic
|
---|
313 | link. The reason for copying the file instead of using a symlink is to
|
---|
314 | cover the situation where <filename class="directory">/usr</filename>
|
---|
315 | is on a separate partition. This could be important when booted into
|
---|
316 | single user mode.</para>
|
---|
317 | </listitem>
|
---|
318 | </varlistentry>
|
---|
319 | </variablelist>
|
---|
320 |
|
---|
321 | </sect2>
|
---|
322 |
|
---|
323 | <sect2 id="conf-ld" role="configuration">
|
---|
324 | <title>Configuring The Dynamic Loader</title>
|
---|
325 |
|
---|
326 | <indexterm zone="conf-ld">
|
---|
327 | <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
|
---|
328 | </indexterm>
|
---|
329 |
|
---|
330 | <para>By default, the dynamic loader (<filename
|
---|
331 | class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
|
---|
332 | <filename class="directory">/lib</filename> and <filename
|
---|
333 | class="directory">/usr/lib</filename> for dynamic libraries that are
|
---|
334 | needed by programs as they are run. However, if there are libraries in
|
---|
335 | directories other than <filename class="directory">/lib</filename> and
|
---|
336 | <filename class="directory">/usr/lib</filename>, these need to be
|
---|
337 | added to the <filename>/etc/ld.so.conf</filename> file in order
|
---|
338 | for the dynamic loader to find them. Two directories that are commonly
|
---|
339 | known to contain additional libraries are <filename
|
---|
340 | class="directory">/usr/local/lib</filename> and <filename
|
---|
341 | class="directory">/opt/lib</filename>, so add those directories to the
|
---|
342 | dynamic loader's search path.</para>
|
---|
343 |
|
---|
344 | <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
|
---|
345 | following:</para>
|
---|
346 |
|
---|
347 | <screen><userinput>cat > ${CLFS}/etc/ld.so.conf << "EOF"
|
---|
348 | <literal># Begin /etc/ld.so.conf
|
---|
349 |
|
---|
350 | /usr/local/lib
|
---|
351 | /opt/lib
|
---|
352 |
|
---|
353 | # End /etc/ld.so.conf</literal>
|
---|
354 | EOF</userinput></screen>
|
---|
355 |
|
---|
356 | </sect2>
|
---|
357 |
|
---|
358 | <sect2 id="contents-eglibc" role="content">
|
---|
359 | <title>Contents of EGLIBC</title>
|
---|
360 |
|
---|
361 | <segmentedlist>
|
---|
362 | <segtitle>Installed programs</segtitle>
|
---|
363 | <segtitle>Installed libraries</segtitle>
|
---|
364 |
|
---|
365 | <seglistitem>
|
---|
366 | <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
|
---|
367 | ldd, lddlibc4, locale, localedef, mtrace, nscd,
|
---|
368 | pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
|
---|
369 | zdump, and zic</seg>
|
---|
370 | <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
|
---|
371 | libbsd-compat.a, libc.[a,so], libcrypt.[a,so], libdl.[a,so], libg.a,
|
---|
372 | libieee.a, libm.[a,so], libmcheck.a, libmemusage.so, libnsl.a,
|
---|
373 | libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
|
---|
374 | libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.[a,so],
|
---|
375 | libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and
|
---|
376 | libutil.[a,so]</seg>
|
---|
377 | </seglistitem>
|
---|
378 | </segmentedlist>
|
---|
379 |
|
---|
380 | <variablelist>
|
---|
381 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
382 | <?dbfo list-presentation="list"?>
|
---|
383 | <?dbhtml list-presentation="table"?>
|
---|
384 |
|
---|
385 | <varlistentry id="catchsegv">
|
---|
386 | <term><command>catchsegv</command></term>
|
---|
387 | <listitem>
|
---|
388 | <para>Can be used to create a stack trace when a program
|
---|
389 | terminates with a segmentation fault</para>
|
---|
390 | <indexterm zone="ch-cross-tools-eglibc catchsegv">
|
---|
391 | <primary sortas="b-catchsegv">catchsegv</primary>
|
---|
392 | </indexterm>
|
---|
393 | </listitem>
|
---|
394 | </varlistentry>
|
---|
395 |
|
---|
396 | <varlistentry id="gencat">
|
---|
397 | <term><command>gencat</command></term>
|
---|
398 | <listitem>
|
---|
399 | <para>Generates message catalogues</para>
|
---|
400 | <indexterm zone="ch-cross-tools-eglibc gencat">
|
---|
401 | <primary sortas="b-gencat">gencat</primary>
|
---|
402 | </indexterm>
|
---|
403 | </listitem>
|
---|
404 | </varlistentry>
|
---|
405 |
|
---|
406 | <varlistentry id="getconf">
|
---|
407 | <term><command>getconf</command></term>
|
---|
408 | <listitem>
|
---|
409 | <para>Displays the system configuration values for file system specific
|
---|
410 | variables</para>
|
---|
411 | <indexterm zone="ch-cross-tools-eglibc getconf">
|
---|
412 | <primary sortas="b-getconf">getconf</primary>
|
---|
413 | </indexterm>
|
---|
414 | </listitem>
|
---|
415 | </varlistentry>
|
---|
416 |
|
---|
417 | <varlistentry id="getent">
|
---|
418 | <term><command>getent</command></term>
|
---|
419 | <listitem>
|
---|
420 | <para>Gets entries from an administrative database</para>
|
---|
421 | <indexterm zone="ch-cross-tools-eglibc getent">
|
---|
422 | <primary sortas="b-getent">getent</primary>
|
---|
423 | </indexterm>
|
---|
424 | </listitem>
|
---|
425 | </varlistentry>
|
---|
426 |
|
---|
427 | <varlistentry id="iconv">
|
---|
428 | <term><command>iconv</command></term>
|
---|
429 | <listitem>
|
---|
430 | <para>Performs character set conversion</para>
|
---|
431 | <indexterm zone="ch-cross-tools-eglibc iconv">
|
---|
432 | <primary sortas="b-iconv">iconv</primary>
|
---|
433 | </indexterm>
|
---|
434 | </listitem>
|
---|
435 | </varlistentry>
|
---|
436 |
|
---|
437 | <varlistentry id="iconvconfig">
|
---|
438 | <term><command>iconvconfig</command></term>
|
---|
439 | <listitem>
|
---|
440 | <para>Creates fastloading <command>iconv</command> module configuration
|
---|
441 | files</para>
|
---|
442 | <indexterm zone="ch-cross-tools-eglibc iconvconfig">
|
---|
443 | <primary sortas="b-iconvconfig">iconvconfig</primary>
|
---|
444 | </indexterm>
|
---|
445 | </listitem>
|
---|
446 | </varlistentry>
|
---|
447 |
|
---|
448 | <varlistentry id="ldconfig">
|
---|
449 | <term><command>ldconfig</command></term>
|
---|
450 | <listitem>
|
---|
451 | <para>Configures the dynamic linker runtime bindings</para>
|
---|
452 | <indexterm zone="ch-cross-tools-eglibc ldconfig">
|
---|
453 | <primary sortas="b-ldconfig">ldconfig</primary>
|
---|
454 | </indexterm>
|
---|
455 | </listitem>
|
---|
456 | </varlistentry>
|
---|
457 |
|
---|
458 | <varlistentry id="ldd">
|
---|
459 | <term><command>ldd</command></term>
|
---|
460 | <listitem>
|
---|
461 | <para>Reports which shared libraries are required
|
---|
462 | by each given program or shared library</para>
|
---|
463 | <indexterm zone="ch-cross-tools-eglibc ldd">
|
---|
464 | <primary sortas="b-ldd">ldd</primary>
|
---|
465 | </indexterm>
|
---|
466 | </listitem>
|
---|
467 | </varlistentry>
|
---|
468 |
|
---|
469 | <varlistentry id="lddlibc4">
|
---|
470 | <term><command>lddlibc4</command></term>
|
---|
471 | <listitem>
|
---|
472 | <para>Assists <command>ldd</command> with object files</para>
|
---|
473 | <indexterm zone="ch-cross-tools-eglibc lddlibc4">
|
---|
474 | <primary sortas="b-lddlibc4">lddlibc4</primary>
|
---|
475 | </indexterm>
|
---|
476 | </listitem>
|
---|
477 | </varlistentry>
|
---|
478 |
|
---|
479 | <varlistentry id="locale">
|
---|
480 | <term><command>locale</command></term>
|
---|
481 | <listitem>
|
---|
482 | <para>Tells the compiler to enable or disable the use of POSIX locales
|
---|
483 | for built-in operations</para>
|
---|
484 | <indexterm zone="ch-cross-tools-eglibc locale">
|
---|
485 | <primary sortas="b-locale">locale</primary>
|
---|
486 | </indexterm>
|
---|
487 | </listitem>
|
---|
488 | </varlistentry>
|
---|
489 |
|
---|
490 | <varlistentry id="localedef">
|
---|
491 | <term><command>localedef</command></term>
|
---|
492 | <listitem>
|
---|
493 | <para>Compiles locale specifications</para>
|
---|
494 | <indexterm zone="ch-cross-tools-eglibc localedef">
|
---|
495 | <primary sortas="b-localedef">localedef</primary>
|
---|
496 | </indexterm>
|
---|
497 | </listitem>
|
---|
498 | </varlistentry>
|
---|
499 |
|
---|
500 | <varlistentry id="mtrace">
|
---|
501 | <term><command>mtrace</command></term>
|
---|
502 | <listitem>
|
---|
503 | <para>Reads and interprets a memory trace file and
|
---|
504 | displays a summary in human-readable format</para>
|
---|
505 | <indexterm zone="ch-cross-tools-eglibc mtrace">
|
---|
506 | <primary sortas="b-mtrace">mtrace</primary>
|
---|
507 | </indexterm>
|
---|
508 | </listitem>
|
---|
509 | </varlistentry>
|
---|
510 |
|
---|
511 | <varlistentry id="nscd">
|
---|
512 | <term><command>nscd</command></term>
|
---|
513 | <listitem>
|
---|
514 | <para>A daemon that provides a cache for the most common name
|
---|
515 | service requests</para>
|
---|
516 | <indexterm zone="ch-cross-tools-eglibc nscd">
|
---|
517 | <primary sortas="b-nscd">nscd</primary>
|
---|
518 | </indexterm>
|
---|
519 | </listitem>
|
---|
520 | </varlistentry>
|
---|
521 |
|
---|
522 | <varlistentry id="pcprofiledump">
|
---|
523 | <term><command>pcprofiledump</command></term>
|
---|
524 | <listitem>
|
---|
525 | <para>Dumps information generated by PC profiling</para>
|
---|
526 | <indexterm zone="ch-cross-tools-eglibc pcprofiledump">
|
---|
527 | <primary sortas="b-pcprofiledump">pcprofiledump</primary>
|
---|
528 | </indexterm>
|
---|
529 | </listitem>
|
---|
530 | </varlistentry>
|
---|
531 |
|
---|
532 | <varlistentry id="pt_chown">
|
---|
533 | <term><command>pt_chown</command></term>
|
---|
534 | <listitem>
|
---|
535 | <para>A helper program for <command>grantpt</command> to set the owner,
|
---|
536 | group and access permissions of a slave pseudo terminal</para>
|
---|
537 | <indexterm zone="ch-cross-tools-eglibc pt_chown">
|
---|
538 | <primary sortas="b-pt_chown">pt_chown</primary>
|
---|
539 | </indexterm>
|
---|
540 | </listitem>
|
---|
541 | </varlistentry>
|
---|
542 |
|
---|
543 | <varlistentry id="rpcgen">
|
---|
544 | <term><command>rpcgen</command></term>
|
---|
545 | <listitem>
|
---|
546 | <para>Generates C code to implement the Remote Procecure Call (RPC)
|
---|
547 | protocol</para>
|
---|
548 | <indexterm zone="ch-cross-tools-eglibc rpcgen">
|
---|
549 | <primary sortas="b-rpcgen">rpcgen</primary>
|
---|
550 | </indexterm>
|
---|
551 | </listitem>
|
---|
552 | </varlistentry>
|
---|
553 |
|
---|
554 | <varlistentry id="rpcinfo">
|
---|
555 | <term><command>rpcinfo</command></term>
|
---|
556 | <listitem>
|
---|
557 | <para>Makes an RPC call to an RPC server</para>
|
---|
558 | <indexterm zone="ch-cross-tools-eglibc rpcinfo">
|
---|
559 | <primary sortas="b-rpcinfo">rpcinfo</primary>
|
---|
560 | </indexterm>
|
---|
561 | </listitem>
|
---|
562 | </varlistentry>
|
---|
563 |
|
---|
564 | <varlistentry id="sln">
|
---|
565 | <term><command>sln</command></term>
|
---|
566 | <listitem>
|
---|
567 | <para>A statically linked program that creates symbolic links</para>
|
---|
568 | <indexterm zone="ch-cross-tools-eglibc sln">
|
---|
569 | <primary sortas="b-sln">sln</primary>
|
---|
570 | </indexterm>
|
---|
571 | </listitem>
|
---|
572 | </varlistentry>
|
---|
573 |
|
---|
574 | <varlistentry id="sprof">
|
---|
575 | <term><command>sprof</command></term>
|
---|
576 | <listitem>
|
---|
577 | <para>Reads and displays shared object profiling data</para>
|
---|
578 | <indexterm zone="ch-cross-tools-eglibc sprof">
|
---|
579 | <primary sortas="b-sprof">sprof</primary>
|
---|
580 | </indexterm>
|
---|
581 | </listitem>
|
---|
582 | </varlistentry>
|
---|
583 |
|
---|
584 | <varlistentry id="tzselect">
|
---|
585 | <term><command>tzselect</command></term>
|
---|
586 | <listitem>
|
---|
587 | <para>Asks the user about the location of the
|
---|
588 | system and reports the corresponding time zone description</para>
|
---|
589 | <indexterm zone="ch-cross-tools-eglibc tzselect">
|
---|
590 | <primary sortas="b-tzselect">tzselect</primary>
|
---|
591 | </indexterm>
|
---|
592 | </listitem>
|
---|
593 | </varlistentry>
|
---|
594 |
|
---|
595 | <varlistentry id="xtrace">
|
---|
596 | <term><command>xtrace</command></term>
|
---|
597 | <listitem>
|
---|
598 | <para>Traces the execution of a program by
|
---|
599 | printing the currently executed function</para>
|
---|
600 | <indexterm zone="ch-cross-tools-eglibc xtrace">
|
---|
601 | <primary sortas="b-xtrace">xtrace</primary>
|
---|
602 | </indexterm>
|
---|
603 | </listitem>
|
---|
604 | </varlistentry>
|
---|
605 |
|
---|
606 | <varlistentry id="zdump">
|
---|
607 | <term><command>zdump</command></term>
|
---|
608 | <listitem>
|
---|
609 | <para>The time zone dumper</para>
|
---|
610 | <indexterm zone="ch-cross-tools-eglibc zdump">
|
---|
611 | <primary sortas="b-zdump">zdump</primary>
|
---|
612 | </indexterm>
|
---|
613 | </listitem>
|
---|
614 | </varlistentry>
|
---|
615 |
|
---|
616 | <varlistentry id="zic">
|
---|
617 | <term><command>zic</command></term>
|
---|
618 | <listitem>
|
---|
619 | <para>The time zone compiler</para>
|
---|
620 | <indexterm zone="ch-cross-tools-eglibc zic">
|
---|
621 | <primary sortas="b-zic">zic</primary>
|
---|
622 | </indexterm>
|
---|
623 | </listitem>
|
---|
624 | </varlistentry>
|
---|
625 |
|
---|
626 | <varlistentry id="ld.so">
|
---|
627 | <term><filename class="libraryfile">ld.so</filename></term>
|
---|
628 | <listitem>
|
---|
629 | <para>The helper program for shared library executables</para>
|
---|
630 | <indexterm zone="ch-cross-tools-eglibc ld.so">
|
---|
631 | <primary sortas="c-ld.so">ld.so</primary>
|
---|
632 | </indexterm>
|
---|
633 | </listitem>
|
---|
634 | </varlistentry>
|
---|
635 |
|
---|
636 | <varlistentry id="libBrokenLocale">
|
---|
637 | <term><filename class="libraryfile">libBrokenLocale</filename></term>
|
---|
638 | <listitem>
|
---|
639 | <para>Used by programs, such as Mozilla, to solve broken locales</para>
|
---|
640 | <indexterm zone="ch-cross-tools-eglibc libBrokenLocale">
|
---|
641 | <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
|
---|
642 | </indexterm>
|
---|
643 | </listitem>
|
---|
644 | </varlistentry>
|
---|
645 |
|
---|
646 | <varlistentry id="libSegFault">
|
---|
647 | <term><filename class="libraryfile">libSegFault</filename></term>
|
---|
648 | <listitem>
|
---|
649 | <para>The segmentation fault signal handler</para>
|
---|
650 | <indexterm zone="ch-cross-tools-eglibc libSegFault">
|
---|
651 | <primary sortas="c-libSegFault">libSegFault</primary>
|
---|
652 | </indexterm>
|
---|
653 | </listitem>
|
---|
654 | </varlistentry>
|
---|
655 |
|
---|
656 | <varlistentry id="libanl">
|
---|
657 | <term><filename class="libraryfile">libanl</filename></term>
|
---|
658 | <listitem>
|
---|
659 | <para>An asynchronous name lookup library</para>
|
---|
660 | <indexterm zone="ch-cross-tools-eglibc libanl">
|
---|
661 | <primary sortas="c-libanl">libanl</primary>
|
---|
662 | </indexterm>
|
---|
663 | </listitem>
|
---|
664 | </varlistentry>
|
---|
665 |
|
---|
666 | <varlistentry id="libbsd-compat">
|
---|
667 | <term><filename class="libraryfile">libbsd-compat</filename></term>
|
---|
668 | <listitem>
|
---|
669 | <para>Provides the portability needed
|
---|
670 | in order to run certain Berkey Software Distribution (BSD) programs
|
---|
671 | under Linux</para>
|
---|
672 | <indexterm zone="ch-cross-tools-eglibc libbsd-compat">
|
---|
673 | <primary sortas="c-libbsd-compat">libbsd-compat</primary>
|
---|
674 | </indexterm>
|
---|
675 | </listitem>
|
---|
676 | </varlistentry>
|
---|
677 |
|
---|
678 | <varlistentry id="libc">
|
---|
679 | <term><filename class="libraryfile">libc</filename></term>
|
---|
680 | <listitem>
|
---|
681 | <para>The main C library</para>
|
---|
682 | <indexterm zone="ch-cross-tools-eglibc libc">
|
---|
683 | <primary sortas="c-libc">libc</primary>
|
---|
684 | </indexterm>
|
---|
685 | </listitem>
|
---|
686 | </varlistentry>
|
---|
687 |
|
---|
688 | <varlistentry id="libcrypt">
|
---|
689 | <term><filename class="libraryfile">libcrypt</filename></term>
|
---|
690 | <listitem>
|
---|
691 | <para>The cryptography library</para>
|
---|
692 | <indexterm zone="ch-cross-tools-eglibc libcrypt">
|
---|
693 | <primary sortas="c-libcrypt">libcrypt</primary>
|
---|
694 | </indexterm>
|
---|
695 | </listitem>
|
---|
696 | </varlistentry>
|
---|
697 |
|
---|
698 | <varlistentry id="libdl">
|
---|
699 | <term><filename class="libraryfile">libdl</filename></term>
|
---|
700 | <listitem>
|
---|
701 | <para>The dynamic linking interface library</para>
|
---|
702 | <indexterm zone="ch-cross-tools-eglibc libdl">
|
---|
703 | <primary sortas="c-libdl">libdl</primary>
|
---|
704 | </indexterm>
|
---|
705 | </listitem>
|
---|
706 | </varlistentry>
|
---|
707 |
|
---|
708 | <varlistentry id="libg">
|
---|
709 | <term><filename class="libraryfile">libg</filename></term>
|
---|
710 | <listitem>
|
---|
711 | <para>A runtime library for <command>g++</command></para>
|
---|
712 | <indexterm zone="ch-cross-tools-eglibc libg">
|
---|
713 | <primary sortas="c-libg">libg</primary>
|
---|
714 | </indexterm>
|
---|
715 | </listitem>
|
---|
716 | </varlistentry>
|
---|
717 |
|
---|
718 | <varlistentry id="libieee">
|
---|
719 | <term><filename class="libraryfile">libieee</filename></term>
|
---|
720 | <listitem>
|
---|
721 | <para>The Institute of Electrical and Electronic Engineers (IEEE)
|
---|
722 | floating point library</para>
|
---|
723 | <indexterm zone="ch-cross-tools-eglibc libieee">
|
---|
724 | <primary sortas="c-libieee">libieee</primary>
|
---|
725 | </indexterm>
|
---|
726 | </listitem>
|
---|
727 | </varlistentry>
|
---|
728 |
|
---|
729 | <varlistentry id="libm">
|
---|
730 | <term><filename class="libraryfile">libm</filename></term>
|
---|
731 | <listitem>
|
---|
732 | <para>The mathematical library</para>
|
---|
733 | <indexterm zone="ch-cross-tools-eglibc libm">
|
---|
734 | <primary sortas="c-libm">libm</primary>
|
---|
735 | </indexterm>
|
---|
736 | </listitem>
|
---|
737 | </varlistentry>
|
---|
738 |
|
---|
739 | <varlistentry id="libmcheck">
|
---|
740 | <term><filename class="libraryfile">libmcheck</filename></term>
|
---|
741 | <listitem>
|
---|
742 | <para>Contains code run at boot</para>
|
---|
743 | <indexterm zone="ch-cross-tools-eglibc libmcheck">
|
---|
744 | <primary sortas="c-libmcheck">libmcheck</primary>
|
---|
745 | </indexterm>
|
---|
746 | </listitem>
|
---|
747 | </varlistentry>
|
---|
748 |
|
---|
749 | <varlistentry id="libmemusage">
|
---|
750 | <term><filename class="libraryfile">libmemusage</filename></term>
|
---|
751 | <listitem>
|
---|
752 | <para>Used by <command>memusage</command> (included in EGLIBC, but
|
---|
753 | not built in a base CLFS system as it has additional dependencies)
|
---|
754 | to help collect information about the memory usage of a program</para>
|
---|
755 | <indexterm zone="ch-cross-tools-eglibc libmemusage">
|
---|
756 | <primary sortas="c-libmemusage">libmemusage</primary>
|
---|
757 | </indexterm>
|
---|
758 | </listitem>
|
---|
759 | </varlistentry>
|
---|
760 |
|
---|
761 | <varlistentry id="libnsl">
|
---|
762 | <term><filename class="libraryfile">libnsl</filename></term>
|
---|
763 | <listitem>
|
---|
764 | <para>The network services library</para>
|
---|
765 | <indexterm zone="ch-cross-tools-eglibc libnsl">
|
---|
766 | <primary sortas="c-libnsl">libnsl</primary>
|
---|
767 | </indexterm>
|
---|
768 | </listitem>
|
---|
769 | </varlistentry>
|
---|
770 |
|
---|
771 | <varlistentry id="libnss">
|
---|
772 | <term><filename class="libraryfile">libnss</filename></term>
|
---|
773 | <listitem>
|
---|
774 | <para>The Name Service Switch libraries, containing functions for
|
---|
775 | resolving host names, user names, group names, aliases, services,
|
---|
776 | protocols, etc.</para>
|
---|
777 | <indexterm zone="ch-cross-tools-eglibc libnss">
|
---|
778 | <primary sortas="c-libnss">libnss</primary>
|
---|
779 | </indexterm>
|
---|
780 | </listitem>
|
---|
781 | </varlistentry>
|
---|
782 |
|
---|
783 | <varlistentry id="libpcprofile">
|
---|
784 | <term><filename class="libraryfile">libpcprofile</filename></term>
|
---|
785 | <listitem>
|
---|
786 | <para>Contains profiling functions used to track the amount of CPU
|
---|
787 | time spent in specific source code lines</para>
|
---|
788 | <indexterm zone="ch-cross-tools-eglibc libpcprofile">
|
---|
789 | <primary sortas="c-libpcprofile">libpcprofile</primary>
|
---|
790 | </indexterm>
|
---|
791 | </listitem>
|
---|
792 | </varlistentry>
|
---|
793 |
|
---|
794 | <varlistentry id="libpthread">
|
---|
795 | <term><filename class="libraryfile">libpthread</filename></term>
|
---|
796 | <listitem>
|
---|
797 | <para>The POSIX threads library</para>
|
---|
798 | <indexterm zone="ch-cross-tools-eglibc libpthread">
|
---|
799 | <primary sortas="c-libpthread">libpthread</primary>
|
---|
800 | </indexterm>
|
---|
801 | </listitem>
|
---|
802 | </varlistentry>
|
---|
803 |
|
---|
804 | <varlistentry id="libresolv">
|
---|
805 | <term><filename class="libraryfile">libresolv</filename></term>
|
---|
806 | <listitem>
|
---|
807 | <para>Contains functions for creating, sending, and interpreting
|
---|
808 | packets to the Internet domain name servers</para>
|
---|
809 | <indexterm zone="ch-cross-tools-eglibc libresolv">
|
---|
810 | <primary sortas="c-libresolv">libresolv</primary>
|
---|
811 | </indexterm>
|
---|
812 | </listitem>
|
---|
813 | </varlistentry>
|
---|
814 |
|
---|
815 | <varlistentry id="librpcsvc">
|
---|
816 | <term><filename class="libraryfile">librpcsvc</filename></term>
|
---|
817 | <listitem>
|
---|
818 | <para>Contains functions providing miscellaneous RPC services</para>
|
---|
819 | <indexterm zone="ch-cross-tools-eglibc librpcsvc">
|
---|
820 | <primary sortas="c-librpcsvc">librpcsvc</primary>
|
---|
821 | </indexterm>
|
---|
822 | </listitem>
|
---|
823 | </varlistentry>
|
---|
824 |
|
---|
825 | <varlistentry id="librt">
|
---|
826 | <term><filename class="libraryfile">librt</filename></term>
|
---|
827 | <listitem>
|
---|
828 | <para>Contains functions providing most of the interfaces specified by
|
---|
829 | the POSIX.1b Realtime Extension</para>
|
---|
830 | <indexterm zone="ch-cross-tools-eglibc librt">
|
---|
831 | <primary sortas="c-librt">librt</primary>
|
---|
832 | </indexterm>
|
---|
833 | </listitem>
|
---|
834 | </varlistentry>
|
---|
835 |
|
---|
836 | <varlistentry id="libthread_db">
|
---|
837 | <term><filename class="libraryfile">libthread_db</filename></term>
|
---|
838 | <listitem>
|
---|
839 | <para>Contains functions useful for
|
---|
840 | building debuggers for multi-threaded programs</para>
|
---|
841 | <indexterm zone="ch-cross-tools-eglibc libthread_db">
|
---|
842 | <primary sortas="c-libthread_db">libthread_db</primary>
|
---|
843 | </indexterm>
|
---|
844 | </listitem>
|
---|
845 | </varlistentry>
|
---|
846 |
|
---|
847 | <varlistentry id="libutil">
|
---|
848 | <term><filename class="libraryfile">libutil</filename></term>
|
---|
849 | <listitem>
|
---|
850 | <para>Contains code for <quote>standard</quote> functions used in
|
---|
851 | many different Unix utilities</para>
|
---|
852 | <indexterm zone="ch-cross-tools-eglibc libutil">
|
---|
853 | <primary sortas="c-libutil">libutil</primary>
|
---|
854 | </indexterm>
|
---|
855 | </listitem>
|
---|
856 | </varlistentry>
|
---|
857 |
|
---|
858 | </variablelist>
|
---|
859 |
|
---|
860 | </sect2>
|
---|
861 |
|
---|
862 | </sect1>
|
---|