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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 39b5a3f was e0b0856, checked in by Jim Gifford <clfs@…>, 18 years ago

The nscd sed is no longer needed to build Glibc 2.5

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