source: chapter06/glibc.xml@ 7d0b6d3

6.1.1
Last change on this file since 7d0b6d3 was e727ee5, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Added -v switches.

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

  • Property mode set to 100644
File size: 25.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-glibc" role="wrap">
7<title>Glibc-&glibc-version;</title>
8<?dbhtml filename="glibc.html"?>
9
10<indexterm zone="ch-system-glibc"><primary sortas="a-Glibc">Glibc</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Glibc package contains the main C library. This library provides
14the basic routines for allocating memory, searching directories, opening and
15closing files, reading and writing files, string handling, pattern matching,
16arithmetic, and so on.</para>
17
18<segmentedlist>
19<segtitle>&buildtime;</segtitle>
20<segtitle>&diskspace;</segtitle>
21<seglistitem><seg>12.3 SBU</seg><seg>476</seg></seglistitem>
22</segmentedlist>
23
24<segmentedlist>
25<segtitle>&dependencies;</segtitle>
26<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
27Gawk, GCC, Gettext, Grep, Make, Perl, Sed, and Texinfo</seg></seglistitem>
28</segmentedlist>
29</sect2>
30
31<sect2 role="installation">
32<title>Installation of Glibc</title>
33
34<para>This package is known to have issues when its default
35optimization flags (including the <parameter>-march</parameter> and
36<parameter>-mcpu</parameter> options) are changed. If any environment
37variables that override default optimizations have been defined, such
38as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
39unset them when building Glibc.</para>
40
41<para>The Glibc build system is self-contained and will install
42perfectly, even though the compiler specs file and linker are still
43pointing at <filename class="directory">/tools</filename>. The specs
44and linker cannot be adjusted before the Glibc install because the
45Glibc autoconf tests would give false results and defeat the goal
46of achieving a clean build.</para>
47
48<para>The linuxthreads tarball contains the man pages for the
49threading libraries installed by Glibc. Unpack the tarball from
50within the Glibc source directory:</para>
51
52<screen><userinput>tar -xjvf ../glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen>
53
54<para>In certain rare circumstances, Glibc can segfault when no standard search
55directories exist. The following patch prevents this:</para>
56
57<screen><userinput>patch -Np1 -i ../&glibc-rtld-patch;</userinput></screen>
58
59<para>Glibc has two tests which fail when the running kernel is 2.6.11.x The
60problem has been determined to be with the tests themselves, not with the libc
61nor the kernel. This patch fixes the problem:</para>
62
63<screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
64
65<para>The Glibc documentation recommends building Glibc outside of the source
66directory in a dedicated build directory:</para>
67
68<screen><userinput>mkdir -v ../glibc-build
69cd ../glibc-build</userinput></screen>
70
71<para>Prepare Glibc for compilation:</para>
72
73<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
74 --disable-profile --enable-add-ons \
75 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
76
77<para>The meaning of the new configure options:</para>
78
79<variablelist>
80<varlistentry>
81<term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
82<listitem><para>This changes the location of the
83<command>pt_chown</command> program from its default of <filename
84class="directory">/usr/libexec</filename> to <filename
85class="directory">/usr/lib/glibc</filename>.</para></listitem>
86</varlistentry>
87</variablelist>
88
89<beginpage/>
90
91<para>Compile the package:</para>
92
93<screen><userinput>make</userinput></screen>
94
95<important><para>In this section, the test suite for Glibc is
96considered critical. Do not skip it under any
97circumstance.</para></important>
98
99<para>Test the results:</para>
100
101<screen><userinput>make check</userinput></screen>
102
103<para>The Glibc test suite is highly dependent on certain functions of
104the host system, in particular the kernel. In general, the Glibc test
105suite is always expected to pass. However, in certain circumstances,
106some failures are unavoidable. This is a list of the most common
107issues:</para>
108
109<itemizedlist>
110<listitem><para>The <emphasis>math</emphasis> tests sometimes fail when running
111on systems where the CPU is not a relatively new genuine Intel or authentic AMD.
112Certain optimization settings are also known to be a factor here.</para></listitem>
113
114<listitem><para>The <emphasis>gettext</emphasis> test sometimes fails due to
115host system issues. The exact reasons are not yet clear.</para></listitem>
116
117<listitem><para>If you have mounted the LFS partition with the
118<parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test will
119fail. As mentioned in <xref linkend="space-mounting"/>, do not use the
120<parameter>noatime</parameter> option while building LFS.</para></listitem>
121
122<listitem><para>When running on older and slower hardware, some tests
123can fail because of test timeouts being exceeded.</para></listitem>
124</itemizedlist>
125
126<para>Though it is a harmless message, the install stage of Glibc will
127complain about the absence of <filename>/etc/ld.so.conf</filename>.
128Prevent this warning with:</para>
129
130<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
131
132<para>Install the package:</para>
133
134<screen><userinput>make install</userinput></screen>
135
136<para>The locales that can make the system respond in a different
137language were not installed by the above command. Install this
138with:</para>
139
140<screen><userinput>make localedata/install-locales</userinput></screen>
141
142<para>To save time, an alternative to running the
143previous command (which generates and installs every locale Glibc is
144aware of) is to install only those locales that are wanted and needed.
145This can be achieved by using the <command>localedef</command>
146command. Information on this command is located in the
147<filename>INSTALL</filename> file in the Glibc source. However, there
148are a number of locales that are essential in order for the tests of
149future packages to pass, in particular, the
150<emphasis>libstdc++</emphasis> tests from GCC. The following
151instructions, instead of the <parameter>install-locales</parameter>
152target used above, will install the minimum set of locales necessary
153for the tests to run successfully:</para>
154
155<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
156localedef -i de_DE -f ISO-8859-1 de_DE
157localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
158localedef -i en_HK -f ISO-8859-1 en_HK
159localedef -i en_PH -f ISO-8859-1 en_PH
160localedef -i en_US -f ISO-8859-1 en_US
161localedef -i es_MX -f ISO-8859-1 es_MX
162localedef -i fa_IR -f UTF-8 fa_IR
163localedef -i fr_FR -f ISO-8859-1 fr_FR
164localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
165localedef -i it_IT -f ISO-8859-1 it_IT
166localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
167
168<para>Some locales installed by the <command>make
169localedata/install-locales</command> command above are not properly
170supported by some applications that are in the LFS and BLFS books.
171Because of the various problems that arise due to application
172programmers making assumptions that break in such locales, LFS should
173not be used in locales that utilize multibyte character sets
174(including UTF-8) or right-to-left writing order. Numerous unofficial
175and unstable patches are required to fix these problems, and it has
176been decided by the LFS developers not to support such complex locales. This applies to the
177ja_JP and fa_IR locales as well&mdash;they have been installed only for
178GCC and Gettext tests to pass, and the <command>watch</command> program
179(part of the Procps package) does not work properly in them. Various
180attempts to circumvent these restrictions are documented in
181internationalization-related hints.</para>
182
183<para>Build the linuxthreads man pages, which are a great reference
184on the threading API (applicable to NPTL as well):</para>
185
186<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
187
188<para>Install these pages:</para>
189
190<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen>
191
192</sect2>
193
194<sect2 id="conf-glibc" role="configuration"><title>Configuring Glibc</title>
195<indexterm zone="conf-glibc"><primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary></indexterm>
196<indexterm zone="conf-glibc"><primary sortas="e-/etc/localtime">/etc/localtime</primary></indexterm>
197
198<para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
199because, although Glibc provides defaults when this file is missing or corrupt,
200the Glibc defaults do not work well in a networked environment. The time zone
201also needs to be configured.</para>
202
203<para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
204following:</para>
205
206<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
207<literal># Begin /etc/nsswitch.conf
208
209passwd: files
210group: files
211shadow: files
212
213hosts: files dns
214networks: files
215
216protocols: files
217services: files
218ethers: files
219rpc: files
220
221# End /etc/nsswitch.conf</literal>
222EOF</userinput></screen>
223
224<para>To determine the local time zone, run the following script:</para>
225
226<screen role="nodump"><userinput>tzselect</userinput></screen>
227
228<para>After answering a few questions about the location, the script
229will output the name of the time zone (e.g.,
230<emphasis>EST5EDT</emphasis> or <emphasis>Canada/Eastern</emphasis>).
231Then create the <filename>/etc/localtime</filename> file by
232running:</para>
233
234<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
235 /etc/localtime</userinput></screen>
236
237<para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
238that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
239
240<para>The meaning of the cp option:</para>
241
242<variablelist>
243<varlistentry>
244<term><parameter>--remove-destination</parameter></term>
245<listitem><para>This is needed to force removal of the already
246existing symbolic link. The reason for copying the file instead of
247using a symlink is to cover the situation where <filename
248class="directory">/usr</filename> is on a separate partition. This
249could be important when booted into single user
250mode.</para></listitem>
251</varlistentry>
252</variablelist>
253
254</sect2>
255
256<sect2 id="conf-ld" role="configuration">
257<title>Configuring Dynamic Loader</title>
258<indexterm zone="conf-ld"><primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary></indexterm>
259
260<para>By default, the dynamic loader (<filename
261class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
262<filename class="directory">/lib</filename> and <filename
263class="directory">/usr/lib</filename> for dynamic libraries that are
264needed by programs as they are run. However, if there are libraries in
265directories other than <filename class="directory">/lib</filename> and
266<filename class="directory">/usr/lib</filename>, these need to be
267added to the <filename>/etc/ld.so.conf</filename> file in order
268for the dynamic loader to find them. Two directories that are commonly
269known to contain additional libraries are <filename
270class="directory">/usr/local/lib</filename> and <filename
271class="directory">/opt/lib</filename>, so add those directories to the
272dynamic loader's search path.</para>
273
274<para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
275following:</para>
276
277<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
278<literal># Begin /etc/ld.so.conf
279
280/usr/local/lib
281/opt/lib
282
283# End /etc/ld.so.conf</literal>
284EOF</userinput></screen>
285
286</sect2>
287
288<sect2 id="contents-glibc" role="content"><title>Contents of Glibc</title>
289
290<segmentedlist>
291<segtitle>Installed programs</segtitle>
292<segtitle>Installed libraries</segtitle>
293<seglistitem><seg>catchsegv, gencat, getconf,
294getent, iconv, iconvconfig, ldconfig, ldd, lddlibc4, locale,
295localedef, mtrace, nscd, nscd_nischeck, pcprofiledump, pt_chown, rpcgen,
296rpcinfo, sln, sprof, tzselect, xtrace, zdump, and zic</seg>
297<seg>ld.so, libBrokenLocale.[a,so],
298libSegFault.so, libanl.[a,so], libbsd-compat.a, libc.[a,so],
299libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so], libmcheck.a,
300libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so, libnss_files.so,
301libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so, libpcprofile.so,
302libpthread.[a,so], libresolv.[a,so], librpcsvc.a, librt.[a,so],
303libthread_db.so, and libutil.[a,so]</seg></seglistitem>
304</segmentedlist>
305
306<beginpage/>
307
308<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
309<?dbfo list-presentation="list"?>
310<?dbhtml list-presentation="table"?>
311
312<varlistentry id="catchsegv">
313<term><command>catchsegv</command></term>
314<listitem>
315<para>Can be used to create a stack trace when a program
316terminates with a segmentation fault</para>
317<indexterm zone="ch-system-glibc catchsegv"><primary sortas="b-catchsegv">catchsegv</primary></indexterm>
318</listitem>
319</varlistentry>
320
321<varlistentry id="gencat">
322<term><command>gencat</command></term>
323<listitem>
324<para>Generates message catalogues</para>
325<indexterm zone="ch-system-glibc gencat"><primary sortas="b-gencat">gencat</primary></indexterm>
326</listitem>
327</varlistentry>
328
329<varlistentry id="getconf">
330<term><command>getconf</command></term>
331<listitem>
332<para>Displays the system configuration values for file system specific variables</para>
333<indexterm zone="ch-system-glibc getconf"><primary sortas="b-getconf">getconf</primary></indexterm>
334</listitem>
335</varlistentry>
336
337<varlistentry id="getent">
338<term><command>getent</command></term>
339<listitem>
340<para>Gets entries from an administrative database</para>
341<indexterm zone="ch-system-glibc getent"><primary sortas="b-getent">getent</primary></indexterm>
342</listitem>
343</varlistentry>
344
345<varlistentry id="iconv">
346<term><command>iconv</command></term>
347<listitem>
348<para>Performs character set conversion</para>
349<indexterm zone="ch-system-glibc iconv"><primary sortas="b-iconv">iconv</primary></indexterm>
350</listitem>
351</varlistentry>
352
353<varlistentry id="iconvconfig">
354<term><command>iconvconfig</command></term>
355<listitem>
356<para>Creates fastloading <command>iconv</command> module configuration files</para>
357<indexterm zone="ch-system-glibc iconvconfig"><primary sortas="b-iconvconfig">iconvconfig</primary></indexterm>
358</listitem>
359</varlistentry>
360
361<varlistentry id="ldconfig">
362<term><command>ldconfig</command></term>
363<listitem>
364<para>Configures the dynamic linker runtime bindings</para>
365<indexterm zone="ch-system-glibc ldconfig"><primary sortas="b-ldconfig">ldconfig</primary></indexterm>
366</listitem>
367</varlistentry>
368
369<varlistentry id="ldd">
370<term><command>ldd</command></term>
371<listitem>
372<para>Reports which shared libraries are required
373by each given program or shared library</para>
374<indexterm zone="ch-system-glibc ldd"><primary sortas="b-ldd">ldd</primary></indexterm>
375</listitem>
376</varlistentry>
377
378<varlistentry id="lddlibc4">
379<term><command>lddlibc4</command></term>
380<listitem>
381<para>Assists <command>ldd</command> with object files</para>
382<indexterm zone="ch-system-glibc lddlibc4"><primary sortas="b-lddlibc4">lddlibc4</primary></indexterm>
383</listitem>
384</varlistentry>
385
386<varlistentry id="locale">
387<term><command>locale</command></term>
388<listitem>
389<para>Tells the compiler to enable or disable the use of POSIX locales
390for built-in operations</para>
391<indexterm zone="ch-system-glibc locale"><primary sortas="b-locale">locale</primary></indexterm>
392</listitem>
393</varlistentry>
394
395<varlistentry id="localedef">
396<term><command>localedef</command></term>
397<listitem>
398<para>Compiles locale specifications</para>
399<indexterm zone="ch-system-glibc localedef"><primary sortas="b-localedef">localedef</primary></indexterm>
400</listitem>
401</varlistentry>
402
403<varlistentry id="mtrace">
404<term><command>mtrace</command></term>
405<listitem>
406<para>Reads and interprets a memory trace file and displays a summary in human-readable format</para>
407<indexterm zone="ch-system-glibc mtrace"><primary sortas="b-mtrace">mtrace</primary></indexterm>
408</listitem>
409</varlistentry>
410
411<varlistentry id="nscd">
412<term><command>nscd</command></term>
413<listitem>
414<para>A daemon that provides a cache for the most common name
415service requests</para>
416<indexterm zone="ch-system-glibc nscd"><primary sortas="b-nscd">nscd</primary></indexterm>
417</listitem>
418</varlistentry>
419
420<varlistentry id="nscd_nischeck">
421<term><command>nscd_nischeck</command></term>
422<listitem>
423<para>Checks whether or not secure mode is necessary for NIS+ lookup</para>
424<indexterm zone="ch-system-glibc nscd_nischeck"><primary sortas="b-nscd_nischeck">nscd_nischeck</primary></indexterm>
425</listitem>
426</varlistentry>
427
428<varlistentry id="pcprofiledump">
429<term><command>pcprofiledump</command></term>
430<listitem>
431<para>Dumps information generated by PC profiling</para>
432<indexterm zone="ch-system-glibc pcprofiledump"><primary sortas="b-pcprofiledump">pcprofiledump</primary></indexterm>
433</listitem>
434</varlistentry>
435
436<varlistentry id="pt_chown">
437<term><command>pt_chown</command></term>
438<listitem>
439<para>A helper program for <command>grantpt</command> to set
440the owner, group and access permissions of a slave pseudo terminal</para>
441<indexterm zone="ch-system-glibc pt_chown"><primary sortas="b-pt_chown">pt_chown</primary></indexterm>
442</listitem>
443</varlistentry>
444
445<varlistentry id="rpcgen">
446<term><command>rpcgen</command></term>
447<listitem>
448<para>Generates C code to implement the Remote Procecure Call (RPC) protocol</para>
449<indexterm zone="ch-system-glibc rpcgen"><primary sortas="b-rpcgen">rpcgen</primary></indexterm>
450</listitem>
451</varlistentry>
452
453<varlistentry id="rpcinfo">
454<term><command>rpcinfo</command></term>
455<listitem>
456<para>Makes an RPC call to an RPC server</para>
457<indexterm zone="ch-system-glibc rpcinfo"><primary sortas="b-rpcinfo">rpcinfo</primary></indexterm>
458</listitem>
459</varlistentry>
460
461<varlistentry id="sln">
462<term><command>sln</command></term>
463<listitem>
464<para>A statically linked <command>ln</command> program</para>
465<indexterm zone="ch-system-glibc sln"><primary sortas="b-sln">sln</primary></indexterm>
466</listitem>
467</varlistentry>
468
469<varlistentry id="sprof">
470<term><command>sprof</command></term>
471<listitem>
472<para>Reads and displays shared object profiling data</para>
473<indexterm zone="ch-system-glibc sprof"><primary sortas="b-sprof">sprof</primary></indexterm>
474</listitem>
475</varlistentry>
476
477<varlistentry id="tzselect">
478<term><command>tzselect</command></term>
479<listitem>
480<para>Asks the user about the location of the
481system and reports the corresponding time zone description</para>
482<indexterm zone="ch-system-glibc tzselect"><primary sortas="b-tzselect">tzselect</primary></indexterm>
483</listitem>
484</varlistentry>
485
486<varlistentry id="xtrace">
487<term><command>xtrace</command></term>
488<listitem>
489<para>Traces the execution of a program by
490printing the currently executed function</para>
491<indexterm zone="ch-system-glibc xtrace"><primary sortas="b-xtrace">xtrace</primary></indexterm>
492</listitem>
493</varlistentry>
494
495<varlistentry id="zdump">
496<term><command>zdump</command></term>
497<listitem>
498<para>The time zone dumper</para>
499<indexterm zone="ch-system-glibc zdump"><primary sortas="b-zdump">zdump</primary></indexterm>
500</listitem>
501</varlistentry>
502
503<varlistentry id="zic">
504<term><command>zic</command></term>
505<listitem>
506<para>The time zone compiler</para>
507<indexterm zone="ch-system-glibc zic"><primary sortas="b-zic">zic</primary></indexterm>
508</listitem>
509</varlistentry>
510
511<varlistentry id="ld.so">
512<term><filename class="libraryfile">ld.so</filename></term>
513<listitem>
514<para>The helper program for shared library executables</para>
515<indexterm zone="ch-system-glibc ld.so"><primary sortas="c-ld.so">ld.so</primary></indexterm>
516</listitem>
517</varlistentry>
518
519<varlistentry id="libBrokenLocale">
520<term><filename class="libraryfile">libBrokenLocale</filename></term>
521<listitem>
522<para>Used by programs, such as Mozilla, to solve broken locales</para>
523<indexterm zone="ch-system-glibc libBrokenLocale"><primary sortas="c-libBrokenLocale">libBrokenLocale</primary></indexterm>
524</listitem>
525</varlistentry>
526
527<varlistentry id="libSegFault">
528<term><filename class="libraryfile">libSegFault</filename></term>
529<listitem>
530<para>The segmentation fault signal handler</para>
531<indexterm zone="ch-system-glibc libSegFault"><primary sortas="c-libSegFault">libSegFault</primary></indexterm>
532</listitem>
533</varlistentry>
534
535<varlistentry id="libanl">
536<term><filename class="libraryfile">libanl</filename></term>
537<listitem>
538<para>An asynchronous name lookup library</para>
539<indexterm zone="ch-system-glibc libanl"><primary sortas="c-libanl">libanl</primary></indexterm>
540</listitem>
541</varlistentry>
542
543<varlistentry id="libbsd-compat">
544<term><filename class="libraryfile">libbsd-compat</filename></term>
545<listitem>
546<para>Provides the portability needed
547in order to run certain Berkey Software Distribution (BSD) programs under Linux</para>
548<indexterm zone="ch-system-glibc libbsd-compat"><primary sortas="c-libbsd-compat">libbsd-compat</primary></indexterm>
549</listitem>
550</varlistentry>
551
552<varlistentry id="libc">
553<term><filename class="libraryfile">libc</filename></term>
554<listitem>
555<para>The main C library</para>
556<indexterm zone="ch-system-glibc libc"><primary sortas="c-libc">libc</primary></indexterm>
557</listitem>
558</varlistentry>
559
560<varlistentry id="libcrypt">
561<term><filename class="libraryfile">libcrypt</filename></term>
562<listitem>
563<para>The cryptography library</para>
564<indexterm zone="ch-system-glibc libcrypt"><primary sortas="c-libcrypt">libcrypt</primary></indexterm>
565</listitem>
566</varlistentry>
567
568<varlistentry id="libdl">
569<term><filename class="libraryfile">libdl</filename></term>
570<listitem>
571<para>The dynamic linking interface library</para>
572<indexterm zone="ch-system-glibc libdl"><primary sortas="c-libdl">libdl</primary></indexterm>
573</listitem>
574</varlistentry>
575
576<varlistentry id="libg">
577<term><filename class="libraryfile">libg</filename></term>
578<listitem>
579<para>A runtime library for <command>g++</command></para>
580<indexterm zone="ch-system-glibc libg"><primary sortas="c-libg">libg</primary></indexterm>
581</listitem>
582</varlistentry>
583
584<varlistentry id="libieee">
585<term><filename class="libraryfile">libieee</filename></term>
586<listitem>
587<para>The Institute of Electrical and Electronic Engineers (IEEE) floating point library</para>
588<indexterm zone="ch-system-glibc libieee"><primary sortas="c-libieee">libieee</primary></indexterm>
589</listitem>
590</varlistentry>
591
592<varlistentry id="libm">
593<term><filename class="libraryfile">libm</filename></term>
594<listitem>
595<para>The mathematical library</para>
596<indexterm zone="ch-system-glibc libm"><primary sortas="c-libm">libm</primary></indexterm>
597</listitem>
598</varlistentry>
599
600<varlistentry id="libmcheck">
601<term><filename class="libraryfile">libmcheck</filename></term>
602<listitem>
603<para>Contains code run at boot</para>
604<indexterm zone="ch-system-glibc libmcheck"><primary sortas="c-libmcheck">libmcheck</primary></indexterm>
605</listitem>
606</varlistentry>
607
608<varlistentry id="libmemusage">
609<term><filename class="libraryfile">libmemusage</filename></term>
610<listitem>
611<para>Used by <command>memusage</command> to help collect
612information about the memory usage of a program</para>
613<indexterm zone="ch-system-glibc libmemusage"><primary sortas="c-libmemusage">libmemusage</primary></indexterm>
614</listitem>
615</varlistentry>
616
617<varlistentry id="libnsl">
618<term><filename class="libraryfile">libnsl</filename></term>
619<listitem>
620<para>The network services library</para>
621<indexterm zone="ch-system-glibc libnsl"><primary sortas="c-libnsl">libnsl</primary></indexterm>
622</listitem>
623</varlistentry>
624
625<varlistentry id="libnss">
626<term><filename class="libraryfile">libnss</filename></term>
627<listitem>
628<para>The Name Service Switch libraries,
629containing functions for resolving host names, user names, group names,
630aliases, services, protocols, etc.</para>
631<indexterm zone="ch-system-glibc libnss"><primary sortas="c-libnss">libnss</primary></indexterm>
632</listitem>
633</varlistentry>
634
635<varlistentry id="libpcprofile">
636<term><filename class="libraryfile">libpcprofile</filename></term>
637<listitem>
638<para>Contains profiling functions used
639to track the amount of CPU time spent in specific source code lines</para>
640<indexterm zone="ch-system-glibc libpcprofile"><primary sortas="c-libpcprofile">libpcprofile</primary></indexterm>
641</listitem>
642</varlistentry>
643
644<varlistentry id="libpthread">
645<term><filename class="libraryfile">libpthread</filename></term>
646<listitem>
647<para>The POSIX threads library</para>
648<indexterm zone="ch-system-glibc libpthread"><primary sortas="c-libpthread">libpthread</primary></indexterm>
649</listitem>
650</varlistentry>
651
652<varlistentry id="libresolv">
653<term><filename class="libraryfile">libresolv</filename></term>
654<listitem>
655<para>Contains functions for creating,
656sending, and interpreting packets to the Internet domain name servers</para>
657<indexterm zone="ch-system-glibc libresolv"><primary sortas="c-libresolv">libresolv</primary></indexterm>
658</listitem>
659</varlistentry>
660
661<varlistentry id="librpcsvc">
662<term><filename class="libraryfile">librpcsvc</filename></term>
663<listitem>
664<para>Contains functions providing miscellaneous RPC services</para>
665<indexterm zone="ch-system-glibc librpcsvc"><primary sortas="c-librpcsvc">librpcsvc</primary></indexterm>
666</listitem>
667</varlistentry>
668
669<varlistentry id="librt">
670<term><filename class="libraryfile">librt</filename></term>
671<listitem>
672<para>Contains functions providing most of the
673interfaces specified by the POSIX.1b Realtime Extension</para>
674<indexterm zone="ch-system-glibc librt"><primary sortas="c-librt">librt</primary></indexterm>
675</listitem>
676</varlistentry>
677
678<varlistentry id="libthread_db">
679<term><filename class="libraryfile">libthread_db</filename></term>
680<listitem>
681<para>Contains functions useful for
682building debuggers for multi-threaded programs</para>
683<indexterm zone="ch-system-glibc libthread_db"><primary sortas="c-libthread_db">libthread_db</primary></indexterm>
684</listitem>
685</varlistentry>
686
687<varlistentry id="libutil">
688<term><filename class="libraryfile">libutil</filename></term>
689<listitem>
690<para>Contains code for <quote>standard</quote> functions used in many different Unix utilities</para>
691<indexterm zone="ch-system-glibc libutil"><primary sortas="c-libutil">libutil</primary></indexterm>
692</listitem>
693</varlistentry>
694</variablelist>
695
696</sect2>
697
698</sect1>
699
Note: See TracBrowser for help on using the repository browser.