source: chapter06/glibc.xml@ 698a753

Last change on this file since 698a753 was 0fe057b, checked in by Jim Gifford <jim@…>, 19 years ago

Synced with Book, fixed changelog, updated packages

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

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