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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since af0fe7f was df4f9ca, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated EGlibc 2.12 to r12509. Removed the Make 3.82 Patch, issue has been fixed upstream.

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