source: chapter06/glibc.xml@ dd03426

Last change on this file since dd03426 was 31294fd, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

PDF fix to match latter text changes.

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

  • Property mode set to 100644
File size: 32.3 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
[28b40e2]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
[ae437d3]64<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
[fa21b3d]65
[81aee91]66 <para>Apply the following patch to fix build errors in packages that include
[cf455b0e]67 <filename class="headerfile">linux/types.h</filename> after <filename
68 class="headerfile">sys/kd.h</filename>:</para>
[81aee91]69
70<screen><userinput>patch -Np1 -i ../&glibc-linux_types-patch;</userinput></screen>
71
[2f494dc]72 <para>Add a header to define syscall functions for the inotify feature
73 available in newer Linux kernels:</para>
74
75<screen><userinput>patch -Np1 -i ../&glibc-inotify-patch;</userinput></screen>
76
[6a82dd9]77 <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
78 at startup. It is unknown whether this is a <command>bash</command> bug or a
79 Glibc problem. Disable installation of this locale in order to avoid the
80 problem:</para>
[fa21b3d]81
82<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
83
[6a82dd9]84 <para>When running <command>make install</command>, a script called
85 <filename>test-installation.pl</filename> performs a small sanity test on
86 our newly installed Glibc. However, because our toolchain still points to
87 the <filename class="directory">/tools</filename> directory, the sanity
88 test would be carried out against the wrong Glibc. We can force the script
89 to check the Glibc we have just installed with the following:</para>
[ae437d3]90
[31294fd]91 <beginpage/>
92
[ae437d3]93<screen><userinput>sed -i \
94's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
95 scripts/test-installation.pl</userinput></screen>
96
[6a82dd9]97 <para>The Glibc documentation recommends building Glibc outside of the source
98 directory in a dedicated build directory:</para>
[73aedd1d]99
[5998892]100<screen><userinput>mkdir -v ../glibc-build
[73aedd1d]101cd ../glibc-build</userinput></screen>
102
[6a82dd9]103 <para>Prepare Glibc for compilation:</para>
[73aedd1d]104
[9dfc02f]105<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
[94aa6621]106 --disable-profile --enable-add-ons \
[8e97f32]107 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
[73aedd1d]108
[6a82dd9]109 <variablelist>
110 <title>The meaning of the new configure options:</title>
111
112 <varlistentry>
113 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
114 <listitem>
115 <para>This changes the location of the <command>pt_chown</command>
116 program from its default of <filename
117 class="directory">/usr/libexec</filename> to <filename
118 class="directory">/usr/lib/glibc</filename>.</para>
119 </listitem>
120 </varlistentry>
[81fd230]121
[6a82dd9]122 </variablelist>
[81fd230]123
[6a82dd9]124 <para>Compile the package:</para>
[73aedd1d]125
126<screen><userinput>make</userinput></screen>
127
[6a82dd9]128 <important>
129 <para>In this section, the test suite for Glibc is considered critical.
130 Do not skip it under any circumstance.</para>
131 </important>
[81fd230]132
[6a82dd9]133 <para>Test the results:</para>
[73aedd1d]134
[fe10b9c]135<screen><userinput>make -k check 2&gt;&amp;1 | tee glibc-check-log
[03e9011]136grep Error glibc-check-log</userinput></screen>
[2e02c35]137
[a0ec869]138 <para>You will probably see an expected (ignored) failure in the
139 <emphasis>posix/annexc</emphasis> test. In addition the Glibc test suite
140 is somewhat dependent on the host system. This is a list of the most
141 common issues:</para>
[6a82dd9]142
143 <itemizedlist>
144 <listitem>
[e6a5a46]145 <para>The <emphasis>nptl/tst-clock2</emphasis> and
146 <emphasis>tst-attr3</emphasis> tests sometimes
[a0ec869]147 fail. The reason is not completely understood, but indications
148 are that a heavy system load can trigger these failures.</para>
[6a82dd9]149 </listitem>
150 <listitem>
[a0ec869]151 <para>The math tests sometimes fail when running on
152 systems where the CPU is not a relatively new genuine Intel or
153 authentic AMD processor.</para>
[6a82dd9]154 </listitem>
155 <listitem>
156 <para>If you have mounted the LFS partition with the
157 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
158 test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
159 use the <parameter>noatime</parameter> option while building LFS.</para>
160 </listitem>
161 <listitem>
[a0ec869]162 <para>When running on older and slower hardware or on systems under
163 load, some tests can fail because of test timeouts being exceeded.</para>
[6a82dd9]164 </listitem>
165 </itemizedlist>
166
[31294fd]167 <beginpage/>
168
[6a82dd9]169 <para>Though it is a harmless message, the install stage of Glibc will
170 complain about the absence of <filename>/etc/ld.so.conf</filename>.
171 Prevent this warning with:</para>
[1caa48e]172
173<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
174
[6a82dd9]175 <para>Install the package:</para>
[73aedd1d]176
[40abfd5]177<screen><userinput>make install</userinput></screen>
[73aedd1d]178
[2f494dc]179 <para>Install the inotify header to the system header location:</para>
180
181<screen><userinput>cp -v ../glibc-&glibc-version;/sysdeps/unix/sysv/linux/inotify.h \
182 /usr/include/sys</userinput></screen>
183
[6a82dd9]184 <para>The locales that can make the system respond in a different language
185 were not installed by the above command. None of the locales are required,
[2f494dc]186 but if some of them are missing, testsuites of the future packages would
[6a82dd9]187 skip important testcases.</para>
188
189 <para>Individual locales can be installed using the
190 <command>localedef</command> program. E.g., the first
191 <command>localedef</command> command below combines the
192 <filename>/usr/share/i18n/locales/de_DE</filename>
193 charset-independent locale definition with the
194 <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename>
195 charmap definition and appends the result to the
196 <filename>/usr/lib/locale/locale-archive</filename> file.
197 The following instructions will install the minimum set of
198 locales necessary for the optimal coverage of tests:</para>
[3f0c882]199
[03e9011]200<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
[73aedd1d]201localedef -i de_DE -f ISO-8859-1 de_DE
202localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
203localedef -i en_HK -f ISO-8859-1 en_HK
204localedef -i en_PH -f ISO-8859-1 en_PH
205localedef -i en_US -f ISO-8859-1 en_US
[3a35b11]206localedef -i en_US -f UTF-8 en_US.UTF-8
[73aedd1d]207localedef -i es_MX -f ISO-8859-1 es_MX
[673b0d8]208localedef -i fa_IR -f UTF-8 fa_IR
[73aedd1d]209localedef -i fr_FR -f ISO-8859-1 fr_FR
210localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
[d93d1c90]211localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
[73aedd1d]212localedef -i it_IT -f ISO-8859-1 it_IT
213localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
214
[6a82dd9]215 <para>In addition, install the locale for your own country, language and
216 character set.</para>
[fa21b3d]217
[6a82dd9]218 <para>Alternatively, install all locales listed in the
219 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
220 (it includes every locale listed above and many more) at once with the
221 following time-consuming command:</para>
[fa21b3d]222
223<screen><userinput>make localedata/install-locales</userinput></screen>
224
[6a82dd9]225 <para>Then use the <command>localedef</command> command to create and
226 install locales not listed in the
227 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
228 in the unlikely case if you need them.</para>
229 <!-- The Live CD patches the localedata/SUPPORTED file instead of
230 running localedef, the results are equivalent -->
231
[31294fd]232 <beginpage/>
233
[6a82dd9]234 </sect2>
[94aa6621]235
[6a82dd9]236 <sect2 id="conf-glibc" role="configuration">
237 <title>Configuring Glibc</title>
[5888299]238
[6a82dd9]239 <indexterm zone="conf-glibc">
240 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
241 </indexterm>
[81fd230]242
[6a82dd9]243 <indexterm zone="conf-glibc">
244 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
245 </indexterm>
[342b176]246
[6a82dd9]247 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
248 because, although Glibc provides defaults when this file is missing or corrupt,
249 the Glibc defaults do not work well in a networked environment. The time zone
250 also needs to be configured.</para>
251
252 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
253 following:</para>
[342b176]254
[bb55064]255<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
[d72e04a]256<literal># Begin /etc/nsswitch.conf
[342b176]257
258passwd: files
259group: files
260shadow: files
261
262hosts: files dns
263networks: files
264
[4a80bec]265protocols: files
266services: files
267ethers: files
268rpc: files
[342b176]269
[d72e04a]270# End /etc/nsswitch.conf</literal>
[bb55064]271EOF</userinput></screen>
[342b176]272
[7d92ae1]273 <para>One way to determine the local time zone, run the following
274 script:</para>
[342b176]275
[be4be92]276<screen role="nodump"><userinput>tzselect</userinput></screen>
[342b176]277
[6a82dd9]278 <para>After answering a few questions about the location, the script will
[7d92ae1]279 output the name of the time zone (e.g.,
280 <emphasis>America/Edmonton</emphasis>). There are also some other possible
281 timezones listed in <filename
282 class='directory'>/usr/share/zoneinfo</filename> such as
283 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
284 are not identified by the script but can be used.</para>
[e6a5a46]285
[7d92ae1]286 <para>Then create the <filename>/etc/localtime</filename> file by
287 running:</para>
[342b176]288
[ff38e70]289<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
[3f0c882]290 /etc/localtime</userinput></screen>
[342b176]291
[7d92ae1]292 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
293 time zone selected (e.g., Canada/Eastern).</para>
[6a82dd9]294
295 <variablelist>
296 <title>The meaning of the cp option:</title>
297
298 <varlistentry>
299 <term><parameter>--remove-destination</parameter></term>
300 <listitem>
301 <para>This is needed to force removal of the already existing symbolic
302 link. The reason for copying the file instead of using a symlink is to
303 cover the situation where <filename class="directory">/usr</filename>
304 is on a separate partition. This could be important when booted into
305 single user mode.</para>
306 </listitem>
307 </varlistentry>
308
309 </variablelist>
310
[31294fd]311 <beginpage/>
312
[6a82dd9]313 </sect2>
314
315 <sect2 id="conf-ld" role="configuration">
316 <title>Configuring the Dynamic Loader</title>
317
318 <indexterm zone="conf-ld">
319 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
320 </indexterm>
321
322 <para>By default, the dynamic loader (<filename
323 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
324 <filename class="directory">/lib</filename> and <filename
325 class="directory">/usr/lib</filename> for dynamic libraries that are
326 needed by programs as they are run. However, if there are libraries in
327 directories other than <filename class="directory">/lib</filename> and
328 <filename class="directory">/usr/lib</filename>, these need to be added
329 to the <filename>/etc/ld.so.conf</filename> file in order for the
330 dynamic loader to find them. Two directories that are commonly known
331 to contain additional libraries are <filename
332 class="directory">/usr/local/lib</filename> and <filename
333 class="directory">/opt/lib</filename>, so add those directories to the
334 dynamic loader's search path.</para>
335
336 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
337 following:</para>
[342b176]338
[bb55064]339<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[d72e04a]340<literal># Begin /etc/ld.so.conf
[342b176]341
342/usr/local/lib
343/opt/lib
344
[d72e04a]345# End /etc/ld.so.conf</literal>
[bb55064]346EOF</userinput></screen>
[342b176]347
[6a82dd9]348 </sect2>
349
350 <sect2 id="contents-glibc" role="content">
351 <title>Contents of Glibc</title>
352
353 <segmentedlist>
354 <segtitle>Installed programs</segtitle>
355 <segtitle>Installed libraries</segtitle>
356
357 <seglistitem>
358 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
359 ldd, lddlibc4, locale, localedef, mtrace, nscd, nscd_nischeck,
360 pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
361 zdump, and zic</seg>
[0090db5]362 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
363 libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
364 libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so, libnsl.a,
[6a82dd9]365 libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
[0090db5]366 libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
367 libresolv.{a,so}, librpcsvc.a, librt.{a,so}, libthread_db.so, and
368 libutil.{a,so}</seg>
[6a82dd9]369 </seglistitem>
370 </segmentedlist>
371
372 <variablelist>
373 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
374 <?dbfo list-presentation="list"?>
375 <?dbhtml list-presentation="table"?>
376
377 <varlistentry id="catchsegv">
378 <term><command>catchsegv</command></term>
379 <listitem>
380 <para>Can be used to create a stack trace when a program
381 terminates with a segmentation fault</para>
382 <indexterm zone="ch-system-glibc catchsegv">
383 <primary sortas="b-catchsegv">catchsegv</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="gencat">
389 <term><command>gencat</command></term>
390 <listitem>
391 <para>Generates message catalogues</para>
392 <indexterm zone="ch-system-glibc gencat">
393 <primary sortas="b-gencat">gencat</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 <varlistentry id="getconf">
399 <term><command>getconf</command></term>
400 <listitem>
401 <para>Displays the system configuration values for file system
402 specific variables</para>
403 <indexterm zone="ch-system-glibc getconf">
404 <primary sortas="b-getconf">getconf</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 <varlistentry id="getent">
410 <term><command>getent</command></term>
411 <listitem>
412 <para>Gets entries from an administrative database</para>
413 <indexterm zone="ch-system-glibc getent">
414 <primary sortas="b-getent">getent</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="iconv">
420 <term><command>iconv</command></term>
421 <listitem>
422 <para>Performs character set conversion</para>
423 <indexterm zone="ch-system-glibc iconv">
424 <primary sortas="b-iconv">iconv</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="iconvconfig">
430 <term><command>iconvconfig</command></term>
431 <listitem>
432 <para>Creates fastloading <command>iconv</command> module configuration
433 files</para>
434 <indexterm zone="ch-system-glibc iconvconfig">
435 <primary sortas="b-iconvconfig">iconvconfig</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="ldconfig">
441 <term><command>ldconfig</command></term>
442 <listitem>
443 <para>Configures the dynamic linker runtime bindings</para>
444 <indexterm zone="ch-system-glibc ldconfig">
445 <primary sortas="b-ldconfig">ldconfig</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="ldd">
451 <term><command>ldd</command></term>
452 <listitem>
453 <para>Reports which shared libraries are required
454 by each given program or shared library</para>
455 <indexterm zone="ch-system-glibc ldd">
456 <primary sortas="b-ldd">ldd</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="lddlibc4">
462 <term><command>lddlibc4</command></term>
463 <listitem>
464 <para>Assists <command>ldd</command> with object files</para>
465 <indexterm zone="ch-system-glibc lddlibc4">
466 <primary sortas="b-lddlibc4">lddlibc4</primary>
467 </indexterm>
468 </listitem>
469 </varlistentry>
470
471 <varlistentry id="locale">
472 <term><command>locale</command></term>
473 <listitem>
474 <para>Prints various information about the current locale</para>
475 <indexterm zone="ch-system-glibc locale">
476 <primary sortas="b-locale">locale</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
481 <varlistentry id="localedef">
482 <term><command>localedef</command></term>
483 <listitem>
484 <para>Compiles locale specifications</para>
485 <indexterm zone="ch-system-glibc localedef">
486 <primary sortas="b-localedef">localedef</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490
491 <varlistentry id="mtrace">
492 <term><command>mtrace</command></term>
493 <listitem>
494 <para>Reads and interprets a memory trace file and displays a summary
495 in human-readable format</para>
496 <indexterm zone="ch-system-glibc mtrace">
497 <primary sortas="b-mtrace">mtrace</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="nscd">
503 <term><command>nscd</command></term>
504 <listitem>
505 <para>A daemon that provides a cache for the most common name
506 service requests</para>
507 <indexterm zone="ch-system-glibc nscd">
508 <primary sortas="b-nscd">nscd</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
513 <varlistentry id="nscd_nischeck">
514 <term><command>nscd_nischeck</command></term>
515 <listitem>
516 <para>Checks whether or not secure mode is necessary for NIS+
517 lookup</para>
518 <indexterm zone="ch-system-glibc nscd_nischeck">
519 <primary sortas="b-nscd_nischeck">nscd_nischeck</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 Procecure 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 Berkey
676 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>
[673b0d8]878
879</sect1>
Note: See TracBrowser for help on using the repository browser.