source: final-system/common/glibc.xml@ 531b5e5

Last change on this file since 531b5e5 was 531b5e5, checked in by Jim Gifford <clfs@…>, 19 years ago

r649@server (orig r647): manuel | 2005-11-07 12:51:45 -0800
Remove the optimization related warnings from the toolchain packages.

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