source: final-system/common/glibc.xml@ 7b4a5f3

Last change on this file since 7b4a5f3 was 55b4fb5, checked in by Ken Moffat <zarniwhoop@…>, 18 years ago

Limit the i686 reference in math test failures to the x86 book, and add missing paras re glibc tests to pure64 books.

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