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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0e161fb7 was c93d889, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Updated Glibc to 2.6.1.

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