source: chapter06/glibc.xml@ 7a8d7c6

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.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 7a8d7c6 was 7a8d7c6, checked in by Bruce Dubbs <bdubbs@…>, 16 years ago

Typo

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

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