source: clfs-sysroot/BOOK/cross-tools/common/glibc.xml@ 42d73f3

Last change on this file since 42d73f3 was a074923, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Some fixes for PDF look.

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