source: final-system/common/glibc.xml@ a67c762

Last change on this file since a67c762 was 6301b6a, checked in by Jim Gifford <clfs@…>, 19 years ago

r650@server (orig r648): manuel | 2005-11-07 13:07:06 -0800
Removed two unused files.

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