source: chapter06/glibc.xml@ 241bb14

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

Redaction changes ported from trunk.

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

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