source: chapter06/glibc.xml@ f5ccac81

Last change on this file since f5ccac81 was f5ccac81, checked in by Jim Gifford <jim@…>, 20 years ago

Updates

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

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