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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bb90eda was 7d61e92, checked in by Jim Gifford <clfs@…>, 19 years ago

r2840@server: jim | 2006-04-12 18:11:01 -0700
Glibc 2.4 Part 2. Added mips patch

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