source: BOOK/final-system/common/glibc.xml@ 663b0fd

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 663b0fd was f1eafe24, checked in by Jim Gifford <clfs@…>, 18 years ago

Updated to Glibc 2.5

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