source: BOOK/final-system/common/eglibc.xml@ 1756a6e

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1756a6e was 093b0e8, checked in by Jim Gifford <clfs@…>, 16 years ago

Cross-LFS moved to Eglibc 2.10.1

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