source: chapter06/glibc.xml@ 3d8a362

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 3d8a362 was bf91658, checked in by Matthew Burgess <matthew@…>, 18 years ago

Undo r7810. It obviously contained much more than the commit log stated.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7811 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 31.2 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6a82dd9]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[6a82dd9]7
[81fd230]8<sect1 id="ch-system-glibc" role="wrap">
[6a82dd9]9 <?dbhtml filename="glibc.html"?>
10
11 <title>Glibc-&glibc-version;</title>
12
13 <indexterm zone="ch-system-glibc">
14 <primary sortas="a-Glibc">Glibc</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Glibc package contains the main C library. This library provides
21 the basic routines for allocating memory, searching directories, opening and
22 closing files, reading and writing files, string handling, pattern matching,
23 arithmetic, and so on.</para>
24
25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
28
29 <seglistitem>
[e4a5635]30 <seg>&glibc-ch6-sbu;</seg>
31 <seg>&glibc-ch6-du;</seg>
[6a82dd9]32 </seglistitem>
33 </segmentedlist>
34
35 </sect2>
36
37 <sect2 role="installation">
38 <title>Installation of Glibc</title>
39
40 <note>
41 <para>Some packages outside of LFS suggest installing GNU libiconv in
42 order to translate data from one encoding to another. The project's
43 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
44 <quote>This library provides an <function>iconv()</function>
45 implementation, for use on systems which don't have one, or whose
46 implementation cannot convert from/to Unicode.</quote> Glibc provides
47 an <function>iconv()</function> implementation and can convert from/to
48 Unicode, therefore libiconv is not required on an LFS system.</para>
49 </note>
50
51 <para>The Glibc build system is self-contained and will install
52 perfectly, even though the compiler specs file and linker are still
53 pointing at <filename class="directory">/tools</filename>. The specs
54 and linker cannot be adjusted before the Glibc install because the
55 Glibc autoconf tests would give false results and defeat the goal
56 of achieving a clean build.</para>
57
58 <para>The glibc-libidn tarball adds support for internationalized domain
59 names (IDN) to Glibc. Many programs that support IDN require the full
[c226182]60 <filename class="libraryfile">libidn</filename> library, not this add-on (see
61 <ulink url="&blfs-root;view/svn/general/libidn.html"/>).
[6a82dd9]62 Unpack the tarball from within the Glibc source directory:</para>
[fa21b3d]63
[60bc014]64<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2
65mv glibc-libidn-&glibc-version; libidn</userinput></screen>
[fa21b3d]66
[6a82dd9]67 <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
68 at startup. It is unknown whether this is a <command>bash</command> bug or a
69 Glibc problem. Disable installation of this locale in order to avoid the
70 problem:</para>
[fa21b3d]71
72<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
73
[6a82dd9]74 <para>When running <command>make install</command>, a script called
75 <filename>test-installation.pl</filename> performs a small sanity test on
76 our newly installed Glibc. However, because our toolchain still points to
77 the <filename class="directory">/tools</filename> directory, the sanity
78 test would be carried out against the wrong Glibc. We can force the script
79 to check the Glibc we have just installed with the following:</para>
[ae437d3]80
81<screen><userinput>sed -i \
82's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
83 scripts/test-installation.pl</userinput></screen>
84
[6a82dd9]85 <para>The Glibc documentation recommends building Glibc outside of the source
86 directory in a dedicated build directory:</para>
[73aedd1d]87
[5998892]88<screen><userinput>mkdir -v ../glibc-build
[73aedd1d]89cd ../glibc-build</userinput></screen>
90
[6a82dd9]91 <para>Prepare Glibc for compilation:</para>
[73aedd1d]92
[9dfc02f]93<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
[94aa6621]94 --disable-profile --enable-add-ons \
[8e97f32]95 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
[73aedd1d]96
[6a82dd9]97 <variablelist>
98 <title>The meaning of the new configure options:</title>
99
100 <varlistentry>
101 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
102 <listitem>
103 <para>This changes the location of the <command>pt_chown</command>
104 program from its default of <filename
105 class="directory">/usr/libexec</filename> to <filename
106 class="directory">/usr/lib/glibc</filename>.</para>
107 </listitem>
108 </varlistentry>
[81fd230]109
[6a82dd9]110 </variablelist>
[81fd230]111
[6a82dd9]112 <para>Compile the package:</para>
[73aedd1d]113
114<screen><userinput>make</userinput></screen>
115
[6a82dd9]116 <important>
117 <para>In this section, the test suite for Glibc is considered critical.
118 Do not skip it under any circumstance.</para>
119 </important>
[81fd230]120
[6a82dd9]121 <para>Test the results:</para>
[73aedd1d]122
[fe10b9c]123<screen><userinput>make -k check 2&gt;&amp;1 | tee glibc-check-log
[03e9011]124grep Error glibc-check-log</userinput></screen>
[2e02c35]125
[a0ec869]126 <para>You will probably see an expected (ignored) failure in the
127 <emphasis>posix/annexc</emphasis> test. In addition the Glibc test suite
128 is somewhat dependent on the host system. This is a list of the most
129 common issues:</para>
[6a82dd9]130
131 <itemizedlist>
132 <listitem>
[e1060de]133 <para>The <emphasis>nptl/tst-clock2</emphasis> and
134 <emphasis>tst-attr3</emphasis> tests sometimes
[a0ec869]135 fail. The reason is not completely understood, but indications
136 are that a heavy system load can trigger these failures.</para>
[6a82dd9]137 </listitem>
138 <listitem>
[a0ec869]139 <para>The math tests sometimes fail when running on
140 systems where the CPU is not a relatively new genuine Intel or
141 authentic AMD processor.</para>
[6a82dd9]142 </listitem>
143 <listitem>
144 <para>If you have mounted the LFS partition with the
145 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
146 test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
147 use the <parameter>noatime</parameter> option while building LFS.</para>
148 </listitem>
149 <listitem>
[a0ec869]150 <para>When running on older and slower hardware or on systems under
151 load, some tests can fail because of test timeouts being exceeded.</para>
[6a82dd9]152 </listitem>
153 </itemizedlist>
154
155 <para>Though it is a harmless message, the install stage of Glibc will
156 complain about the absence of <filename>/etc/ld.so.conf</filename>.
157 Prevent this warning with:</para>
[1caa48e]158
159<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
160
[6a82dd9]161 <para>Install the package:</para>
[73aedd1d]162
[40abfd5]163<screen><userinput>make install</userinput></screen>
[73aedd1d]164
[6a82dd9]165 <para>The locales that can make the system respond in a different language
166 were not installed by the above command. None of the locales are required,
[c226182]167 but if some of them are missing, testsuites of the future packages would
[6a82dd9]168 skip important testcases.</para>
169
170 <para>Individual locales can be installed using the
171 <command>localedef</command> program. E.g., the first
172 <command>localedef</command> command below combines the
173 <filename>/usr/share/i18n/locales/de_DE</filename>
174 charset-independent locale definition with the
175 <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename>
176 charmap definition and appends the result to the
177 <filename>/usr/lib/locale/locale-archive</filename> file.
178 The following instructions will install the minimum set of
179 locales necessary for the optimal coverage of tests:</para>
[3f0c882]180
[03e9011]181<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
[73aedd1d]182localedef -i de_DE -f ISO-8859-1 de_DE
183localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
184localedef -i en_HK -f ISO-8859-1 en_HK
185localedef -i en_PH -f ISO-8859-1 en_PH
186localedef -i en_US -f ISO-8859-1 en_US
[3a35b11]187localedef -i en_US -f UTF-8 en_US.UTF-8
[73aedd1d]188localedef -i es_MX -f ISO-8859-1 es_MX
[673b0d8]189localedef -i fa_IR -f UTF-8 fa_IR
[73aedd1d]190localedef -i fr_FR -f ISO-8859-1 fr_FR
191localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
[d93d1c90]192localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
[73aedd1d]193localedef -i it_IT -f ISO-8859-1 it_IT
194localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
195
[6a82dd9]196 <para>In addition, install the locale for your own country, language and
197 character set.</para>
[fa21b3d]198
[6a82dd9]199 <para>Alternatively, install all locales listed in the
200 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
201 (it includes every locale listed above and many more) at once with the
202 following time-consuming command:</para>
[fa21b3d]203
204<screen><userinput>make localedata/install-locales</userinput></screen>
205
[6a82dd9]206 <para>Then use the <command>localedef</command> command to create and
207 install locales not listed in the
208 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
209 in the unlikely case if you need them.</para>
210 <!-- The Live CD patches the localedata/SUPPORTED file instead of
211 running localedef, the results are equivalent -->
212
213 </sect2>
[94aa6621]214
[6a82dd9]215 <sect2 id="conf-glibc" role="configuration">
216 <title>Configuring Glibc</title>
[5888299]217
[6a82dd9]218 <indexterm zone="conf-glibc">
219 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
220 </indexterm>
[81fd230]221
[6a82dd9]222 <indexterm zone="conf-glibc">
223 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
224 </indexterm>
[342b176]225
[6a82dd9]226 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
227 because, although Glibc provides defaults when this file is missing or corrupt,
228 the Glibc defaults do not work well in a networked environment. The time zone
229 also needs to be configured.</para>
230
231 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
232 following:</para>
[342b176]233
[bb55064]234<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
[d72e04a]235<literal># Begin /etc/nsswitch.conf
[342b176]236
237passwd: files
238group: files
239shadow: files
240
241hosts: files dns
242networks: files
243
[4a80bec]244protocols: files
245services: files
246ethers: files
247rpc: files
[342b176]248
[d72e04a]249# End /etc/nsswitch.conf</literal>
[bb55064]250EOF</userinput></screen>
[342b176]251
[e1060de]252 <para>One way to determine the local time zone, run the following
253 script:</para>
[342b176]254
[be4be92]255<screen role="nodump"><userinput>tzselect</userinput></screen>
[342b176]256
[6a82dd9]257 <para>After answering a few questions about the location, the script will
[e1060de]258 output the name of the time zone (e.g.,
259 <emphasis>America/Edmonton</emphasis>). There are also some other possible
260 timezones listed in <filename
261 class='directory'>/usr/share/zoneinfo</filename> such as
262 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
263 are not identified by the script but can be used.</para>
264
265 <para>Then create the <filename>/etc/localtime</filename> file by
266 running:</para>
[342b176]267
[ff38e70]268<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
[3f0c882]269 /etc/localtime</userinput></screen>
[342b176]270
[e1060de]271 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
272 time zone selected (e.g., Canada/Eastern).</para>
[6a82dd9]273
274 <variablelist>
275 <title>The meaning of the cp option:</title>
276
277 <varlistentry>
278 <term><parameter>--remove-destination</parameter></term>
279 <listitem>
280 <para>This is needed to force removal of the already existing symbolic
281 link. The reason for copying the file instead of using a symlink is to
282 cover the situation where <filename class="directory">/usr</filename>
283 is on a separate partition. This could be important when booted into
284 single user mode.</para>
285 </listitem>
286 </varlistentry>
287
288 </variablelist>
289
290 </sect2>
291
292 <sect2 id="conf-ld" role="configuration">
293 <title>Configuring the Dynamic Loader</title>
294
295 <indexterm zone="conf-ld">
296 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
297 </indexterm>
298
299 <para>By default, the dynamic loader (<filename
300 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
301 <filename class="directory">/lib</filename> and <filename
302 class="directory">/usr/lib</filename> for dynamic libraries that are
303 needed by programs as they are run. However, if there are libraries in
304 directories other than <filename class="directory">/lib</filename> and
305 <filename class="directory">/usr/lib</filename>, these need to be added
306 to the <filename>/etc/ld.so.conf</filename> file in order for the
307 dynamic loader to find them. Two directories that are commonly known
308 to contain additional libraries are <filename
309 class="directory">/usr/local/lib</filename> and <filename
310 class="directory">/opt/lib</filename>, so add those directories to the
311 dynamic loader's search path.</para>
312
313 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
314 following:</para>
[342b176]315
[bb55064]316<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[d72e04a]317<literal># Begin /etc/ld.so.conf
[342b176]318
319/usr/local/lib
320/opt/lib
321
[d72e04a]322# End /etc/ld.so.conf</literal>
[bb55064]323EOF</userinput></screen>
[342b176]324
[6a82dd9]325 </sect2>
326
327 <sect2 id="contents-glibc" role="content">
328 <title>Contents of Glibc</title>
329
330 <segmentedlist>
331 <segtitle>Installed programs</segtitle>
332 <segtitle>Installed libraries</segtitle>
333
334 <seglistitem>
335 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
[60bc014]336 ldd, lddlibc4, locale, localedef, mtrace, nscd, pcprofiledump,
337 pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
[6a82dd9]338 zdump, and zic</seg>
[0090db5]339 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
340 libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
341 libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so, libnsl.a,
[6a82dd9]342 libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
[0090db5]343 libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
344 libresolv.{a,so}, librpcsvc.a, librt.{a,so}, libthread_db.so, and
345 libutil.{a,so}</seg>
[6a82dd9]346 </seglistitem>
347 </segmentedlist>
348
349 <variablelist>
350 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
351 <?dbfo list-presentation="list"?>
352 <?dbhtml list-presentation="table"?>
353
354 <varlistentry id="catchsegv">
355 <term><command>catchsegv</command></term>
356 <listitem>
357 <para>Can be used to create a stack trace when a program
358 terminates with a segmentation fault</para>
359 <indexterm zone="ch-system-glibc catchsegv">
360 <primary sortas="b-catchsegv">catchsegv</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 <varlistentry id="gencat">
366 <term><command>gencat</command></term>
367 <listitem>
368 <para>Generates message catalogues</para>
369 <indexterm zone="ch-system-glibc gencat">
370 <primary sortas="b-gencat">gencat</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="getconf">
376 <term><command>getconf</command></term>
377 <listitem>
378 <para>Displays the system configuration values for file system
379 specific variables</para>
380 <indexterm zone="ch-system-glibc getconf">
381 <primary sortas="b-getconf">getconf</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="getent">
387 <term><command>getent</command></term>
388 <listitem>
389 <para>Gets entries from an administrative database</para>
390 <indexterm zone="ch-system-glibc getent">
391 <primary sortas="b-getent">getent</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry id="iconv">
397 <term><command>iconv</command></term>
398 <listitem>
399 <para>Performs character set conversion</para>
400 <indexterm zone="ch-system-glibc iconv">
401 <primary sortas="b-iconv">iconv</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
406 <varlistentry id="iconvconfig">
407 <term><command>iconvconfig</command></term>
408 <listitem>
409 <para>Creates fastloading <command>iconv</command> module configuration
410 files</para>
411 <indexterm zone="ch-system-glibc iconvconfig">
412 <primary sortas="b-iconvconfig">iconvconfig</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
417 <varlistentry id="ldconfig">
418 <term><command>ldconfig</command></term>
419 <listitem>
420 <para>Configures the dynamic linker runtime bindings</para>
421 <indexterm zone="ch-system-glibc ldconfig">
422 <primary sortas="b-ldconfig">ldconfig</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="ldd">
428 <term><command>ldd</command></term>
429 <listitem>
430 <para>Reports which shared libraries are required
431 by each given program or shared library</para>
432 <indexterm zone="ch-system-glibc ldd">
433 <primary sortas="b-ldd">ldd</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="lddlibc4">
439 <term><command>lddlibc4</command></term>
440 <listitem>
441 <para>Assists <command>ldd</command> with object files</para>
442 <indexterm zone="ch-system-glibc lddlibc4">
443 <primary sortas="b-lddlibc4">lddlibc4</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="locale">
449 <term><command>locale</command></term>
450 <listitem>
451 <para>Prints various information about the current locale</para>
452 <indexterm zone="ch-system-glibc locale">
453 <primary sortas="b-locale">locale</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="localedef">
459 <term><command>localedef</command></term>
460 <listitem>
461 <para>Compiles locale specifications</para>
462 <indexterm zone="ch-system-glibc localedef">
463 <primary sortas="b-localedef">localedef</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="mtrace">
469 <term><command>mtrace</command></term>
470 <listitem>
471 <para>Reads and interprets a memory trace file and displays a summary
472 in human-readable format</para>
473 <indexterm zone="ch-system-glibc mtrace">
474 <primary sortas="b-mtrace">mtrace</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="nscd">
480 <term><command>nscd</command></term>
481 <listitem>
482 <para>A daemon that provides a cache for the most common name
483 service requests</para>
484 <indexterm zone="ch-system-glibc nscd">
485 <primary sortas="b-nscd">nscd</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="pcprofiledump">
491 <term><command>pcprofiledump</command></term>
492 <listitem>
493 <para>Dumps information generated by PC profiling</para>
494 <indexterm zone="ch-system-glibc pcprofiledump">
495 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 <varlistentry id="pt_chown">
501 <term><command>pt_chown</command></term>
502 <listitem>
503 <para>A helper program for <command>grantpt</command> to set the owner,
504 group and access permissions of a slave pseudo terminal</para>
505 <indexterm zone="ch-system-glibc pt_chown">
506 <primary sortas="b-pt_chown">pt_chown</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
510
511 <varlistentry id="rpcgen">
512 <term><command>rpcgen</command></term>
513 <listitem>
514 <para>Generates C code to implement the Remote Procecure Call (RPC)
515 protocol</para>
516 <indexterm zone="ch-system-glibc rpcgen">
517 <primary sortas="b-rpcgen">rpcgen</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
522 <varlistentry id="rpcinfo">
523 <term><command>rpcinfo</command></term>
524 <listitem>
525 <para>Makes an RPC call to an RPC server</para>
526 <indexterm zone="ch-system-glibc rpcinfo">
527 <primary sortas="b-rpcinfo">rpcinfo</primary>
528 </indexterm>
529 </listitem>
530 </varlistentry>
531
532 <varlistentry id="sln">
533 <term><command>sln</command></term>
534 <listitem>
535 <para>A statically linked <command>ln</command> program</para>
536 <indexterm zone="ch-system-glibc sln">
537 <primary sortas="b-sln">sln</primary>
538 </indexterm>
539 </listitem>
540 </varlistentry>
541
542 <varlistentry id="sprof">
543 <term><command>sprof</command></term>
544 <listitem>
545 <para>Reads and displays shared object profiling data</para>
546 <indexterm zone="ch-system-glibc sprof">
547 <primary sortas="b-sprof">sprof</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="tzselect">
553 <term><command>tzselect</command></term>
554 <listitem>
555 <para>Asks the user about the location of the system and reports
556 the corresponding time zone description</para>
557 <indexterm zone="ch-system-glibc tzselect">
558 <primary sortas="b-tzselect">tzselect</primary>
559 </indexterm>
560 </listitem>
561 </varlistentry>
562
563 <varlistentry id="xtrace">
564 <term><command>xtrace</command></term>
565 <listitem>
566 <para>Traces the execution of a program by printing the currently
567 executed function</para>
568 <indexterm zone="ch-system-glibc xtrace">
569 <primary sortas="b-xtrace">xtrace</primary>
570 </indexterm>
571 </listitem>
572 </varlistentry>
573
574 <varlistentry id="zdump">
575 <term><command>zdump</command></term>
576 <listitem>
577 <para>The time zone dumper</para>
578 <indexterm zone="ch-system-glibc zdump">
579 <primary sortas="b-zdump">zdump</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
584 <varlistentry id="zic">
585 <term><command>zic</command></term>
586 <listitem>
587 <para>The time zone compiler</para>
588 <indexterm zone="ch-system-glibc zic">
589 <primary sortas="b-zic">zic</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="ld.so">
595 <term><filename class="libraryfile">ld.so</filename></term>
596 <listitem>
597 <para>The helper program for shared library executables</para>
598 <indexterm zone="ch-system-glibc ld.so">
599 <primary sortas="c-ld.so">ld.so</primary>
600 </indexterm>
601 </listitem>
602 </varlistentry>
603
604 <varlistentry id="libBrokenLocale">
605 <term><filename class="libraryfile">libBrokenLocale</filename></term>
606 <listitem>
607 <para>Used internally by Glibc as a gross hack to get broken programs
608 (e.g., some Motif applications) running. See comments in
609 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
610 for more information</para>
611 <indexterm zone="ch-system-glibc libBrokenLocale">
612 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
613 </indexterm>
614 </listitem>
615 </varlistentry>
616
617 <varlistentry id="libSegFault">
618 <term><filename class="libraryfile">libSegFault</filename></term>
619 <listitem>
620 <para>The segmentation fault signal handler, used by
621 <command>catchsegv</command></para>
622 <indexterm zone="ch-system-glibc libSegFault">
623 <primary sortas="c-libSegFault">libSegFault</primary>
624 </indexterm>
625 </listitem>
626 </varlistentry>
627
628 <varlistentry id="libanl">
629 <term><filename class="libraryfile">libanl</filename></term>
630 <listitem>
631 <para>An asynchronous name lookup library</para>
632 <indexterm zone="ch-system-glibc libanl">
633 <primary sortas="c-libanl">libanl</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 <varlistentry id="libbsd-compat">
639 <term><filename class="libraryfile">libbsd-compat</filename></term>
640 <listitem>
641 <para>Provides the portability needed in order to run certain Berkey
642 Software Distribution (BSD) programs under Linux</para>
643 <indexterm zone="ch-system-glibc libbsd-compat">
644 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
645 </indexterm>
646 </listitem>
647 </varlistentry>
648
649 <varlistentry id="libc">
650 <term><filename class="libraryfile">libc</filename></term>
651 <listitem>
652 <para>The main C library</para>
653 <indexterm zone="ch-system-glibc libc">
654 <primary sortas="c-libc">libc</primary>
655 </indexterm>
656 </listitem>
657 </varlistentry>
658
659 <varlistentry id="libcidn">
660 <term><filename class="libraryfile">libcidn</filename></term>
661 <listitem>
662 <para>Used internally by Glibc for handling internationalized domain
663 names in the <function>getaddrinfo()</function> function</para>
664 <indexterm zone="ch-system-glibc libcrypt">
665 <primary sortas="c-libcrypt">libcrypt</primary>
666 </indexterm>
667 </listitem>
668 </varlistentry>
669
670 <varlistentry id="libcrypt">
671 <term><filename class="libraryfile">libcrypt</filename></term>
672 <listitem>
673 <para>The cryptography library</para>
674 <indexterm zone="ch-system-glibc libcrypt">
675 <primary sortas="c-libcrypt">libcrypt</primary>
676 </indexterm>
677 </listitem>
678 </varlistentry>
679
680 <varlistentry id="libdl">
681 <term><filename class="libraryfile">libdl</filename></term>
682 <listitem>
683 <para>The dynamic linking interface library</para>
684 <indexterm zone="ch-system-glibc libdl">
685 <primary sortas="c-libdl">libdl</primary>
686 </indexterm>
687 </listitem>
688 </varlistentry>
689
690 <varlistentry id="libg">
691 <term><filename class="libraryfile">libg</filename></term>
692 <listitem>
693 <para>Dummy library containing no functions. Previously was a runtime
694 library for <command>g++</command></para>
695 <indexterm zone="ch-system-glibc libg">
696 <primary sortas="c-libg">libg</primary>
697 </indexterm>
698 </listitem>
699 </varlistentry>
700
701 <varlistentry id="libieee">
702 <term><filename class="libraryfile">libieee</filename></term>
703 <listitem>
704 <para>Linking in this module forces error handling rules for math
705 functions as defined by the Institute of Electrical and Electronic
706 Engineers (IEEE). The default is POSIX.1 error handling</para>
707 <indexterm zone="ch-system-glibc libieee">
708 <primary sortas="c-libieee">libieee</primary>
709 </indexterm>
710 </listitem>
711 </varlistentry>
712
713 <varlistentry id="libm">
714 <term><filename class="libraryfile">libm</filename></term>
715 <listitem>
716 <para>The mathematical library</para>
717 <indexterm zone="ch-system-glibc libm">
718 <primary sortas="c-libm">libm</primary>
719 </indexterm>
720 </listitem>
721 </varlistentry>
722
723 <varlistentry id="libmcheck">
724 <term><filename class="libraryfile">libmcheck</filename></term>
725 <listitem>
726 <para>Turns on memory allocation checking when linked to</para>
727 <indexterm zone="ch-system-glibc libmcheck">
728 <primary sortas="c-libmcheck">libmcheck</primary>
729 </indexterm>
730 </listitem>
731 </varlistentry>
732
733 <varlistentry id="libmemusage">
734 <term><filename class="libraryfile">libmemusage</filename></term>
735 <listitem>
736 <para>Used by <command>memusage</command> to help collect
737 information about the memory usage of a program</para>
738 <indexterm zone="ch-system-glibc libmemusage">
739 <primary sortas="c-libmemusage">libmemusage</primary>
740 </indexterm>
741 </listitem>
742 </varlistentry>
743
744 <varlistentry id="libnsl">
745 <term><filename class="libraryfile">libnsl</filename></term>
746 <listitem>
747 <para>The network services library</para>
748 <indexterm zone="ch-system-glibc libnsl">
749 <primary sortas="c-libnsl">libnsl</primary>
750 </indexterm>
751 </listitem>
752 </varlistentry>
753
754 <varlistentry id="libnss">
755 <term><filename class="libraryfile">libnss</filename></term>
756 <listitem>
757 <para>The Name Service Switch libraries, containing functions for
758 resolving host names, user names, group names, aliases, services,
759 protocols, etc.</para>
760 <indexterm zone="ch-system-glibc libnss">
761 <primary sortas="c-libnss">libnss</primary>
762 </indexterm>
763 </listitem>
764 </varlistentry>
765
766 <varlistentry id="libpcprofile">
767 <term><filename class="libraryfile">libpcprofile</filename></term>
768 <listitem>
769 <para>Contains profiling functions used to track the amount of CPU
770 time spent in specific source code lines</para>
771 <indexterm zone="ch-system-glibc libpcprofile">
772 <primary sortas="c-libpcprofile">libpcprofile</primary>
773 </indexterm>
774 </listitem>
775 </varlistentry>
776
777 <varlistentry id="libpthread">
778 <term><filename class="libraryfile">libpthread</filename></term>
779 <listitem>
780 <para>The POSIX threads library</para>
781 <indexterm zone="ch-system-glibc libpthread">
782 <primary sortas="c-libpthread">libpthread</primary>
783 </indexterm>
784 </listitem>
785 </varlistentry>
786
787 <varlistentry id="libresolv">
788 <term><filename class="libraryfile">libresolv</filename></term>
789 <listitem>
790 <para>Contains functions for creating, sending, and interpreting
791 packets to the Internet domain name servers</para>
792 <indexterm zone="ch-system-glibc libresolv">
793 <primary sortas="c-libresolv">libresolv</primary>
794 </indexterm>
795 </listitem>
796 </varlistentry>
797
798 <varlistentry id="librpcsvc">
799 <term><filename class="libraryfile">librpcsvc</filename></term>
800 <listitem>
801 <para>Contains functions providing miscellaneous RPC services</para>
802 <indexterm zone="ch-system-glibc librpcsvc">
803 <primary sortas="c-librpcsvc">librpcsvc</primary>
804 </indexterm>
805 </listitem>
806 </varlistentry>
807
808 <varlistentry id="librt">
809 <term><filename class="libraryfile">librt</filename></term>
810 <listitem>
811 <para>Contains functions providing most of the interfaces specified
812 by the POSIX.1b Realtime Extension</para>
813 <indexterm zone="ch-system-glibc librt">
814 <primary sortas="c-librt">librt</primary>
815 </indexterm>
816 </listitem>
817 </varlistentry>
818
819 <varlistentry id="libthread_db">
820 <term><filename class="libraryfile">libthread_db</filename></term>
821 <listitem>
822 <para>Contains functions useful for building debuggers for
823 multi-threaded programs</para>
824 <indexterm zone="ch-system-glibc libthread_db">
825 <primary sortas="c-libthread_db">libthread_db</primary>
826 </indexterm>
827 </listitem>
828 </varlistentry>
829
830 <varlistentry id="libutil">
831 <term><filename class="libraryfile">libutil</filename></term>
832 <listitem>
833 <para>Contains code for <quote>standard</quote> functions used in
834 many different Unix utilities</para>
835 <indexterm zone="ch-system-glibc libutil">
836 <primary sortas="c-libutil">libutil</primary>
837 </indexterm>
838 </listitem>
839 </varlistentry>
840
841 </variablelist>
842
843 </sect2>
[673b0d8]844
845</sect1>
Note: See TracBrowser for help on using the repository browser.