source: clfs-sysroot/BOOK/cross-tools/common/glibc.xml@ 3cf26f7

Last change on this file since 3cf26f7 was aa7d916, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Updated to Glibc 2.5.

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