source: clfs-sysroot/BOOK/cross-tools/common/eglibc.xml@ 625455a

Last change on this file since 625455a was 902a553, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Replace the locales standalone installation command block with a simpler command.

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