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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 656e49e was e92465d, checked in by Chris Staub <chris@…>, 15 years ago

Merge branch 'master' of git://git.cross-lfs.org/cross-lfs

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