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

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

Updated to binutils-2.17.

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