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

Last change on this file since cc07a72 was 11ed0d6, checked in by Jim Gifford <clfs@…>, 19 years ago

r848@server (orig r846): jim | 2005-12-06 00:07:49 -0800

r967@server: jim | 2005-12-06 00:07:06 -0800
Fixed typo in glibc final-system.


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