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

Last change on this file since f386fcc was 19474b9, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Reverted r2646, The change to the timezone command. Did not notice this was already changed in trunk.

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