source: chapter06/glibc.xml@ 2a698a6

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 2a698a6 was 9829329, checked in by Matthew Burgess <matthew@…>, 19 years ago

Remove optimization related warnings from the toolchain packages

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