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

Last change on this file since b517233 was fef8487, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Even More Text Updates.

  • Property mode set to 100644
File size: 31.9 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>mkdir -pv ${CLFS}/usr/lib/locale
211export I18NPATH=${PWD}/localedata
212export GCONV_PATH=${PWD}/iconvdata
213export LOCALEDEF="${PWD}/locale/localedef-native \
214 --alias-file=../intl/locale.alias"
215cd ../eglibc-&eglibc-version;/localedata
216${LOCALEDEF} -i locales/de_DE -f charmaps/ISO-8859-1 --prefix=${CLFS} de_DE
217${LOCALEDEF} -i locales/de_DE@euro -f charmaps/ISO-8859-15 \
218 --prefix=${CLFS} de_DE@euro
219${LOCALEDEF} -i locales/en_HK -f charmaps/ISO-8859-1 --prefix=${CLFS} en_HK
220${LOCALEDEF} -i locales/en_PH -f charmaps/ISO-8859-1 --prefix=${CLFS} en_PH
221${LOCALEDEF} -i locales/en_US -f charmaps/ISO-8859-1 --prefix=${CLFS} en_US
222${LOCALEDEF} -i locales/es_MX -f charmaps/ISO-8859-1 --prefix=${CLFS} es_MX
223${LOCALEDEF} -i locales/fa_IR -f charmaps/UTF-8 --prefix=${CLFS} fa_IR
224${LOCALEDEF} -i locales/fr_FR -f charmaps/ISO-8859-1 --prefix=${CLFS} fr_FR
225${LOCALEDEF} -i locales/fr_FR@euro -f charmaps/ISO-8859-15 \
226 --prefix=${CLFS} fr_FR@euro
227${LOCALEDEF} -i locales/it_IT -f charmaps/ISO-8859-1 --prefix=${CLFS} it_IT
228${LOCALEDEF} -i locales/ja_JP -f charmaps/EUC-JP --prefix=${CLFS} ja_JP
229unset I18NPATH GCONV_PATH LOCALEDEF</userinput></screen>
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 CLFS and BLFS books. Because
234 of the various problems that arise due to application programmers making
235 assumptions that break in such locales, CLFS 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 CLFS 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-eglibc" role="configuration">
249 <title>Configuring EGLIBC</title>
250
251 <indexterm zone="conf-eglibc">
252 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
253 </indexterm>
254
255 <indexterm zone="conf-eglibc">
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 EGLIBC provides defaults when this file is missing or
261 corrupt, the EGLIBC 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; ${CLFS}/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>TZDIR="${CLFS}/usr/share/zoneinfo" ${CLFS}/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 ${CLFS}/usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
295 ${CLFS}/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; ${CLFS}/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-eglibc" role="content">
353 <title>Contents of EGLIBC</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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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 program that creates symbolic links</para>
562 <indexterm zone="ch-cross-tools-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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-eglibc 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> (included in EGLIBC, but
747 not built in a base CLFS system as it has additional dependencies)
748 to help collect information about the memory usage of a program</para>
749 <indexterm zone="ch-cross-tools-eglibc libmemusage">
750 <primary sortas="c-libmemusage">libmemusage</primary>
751 </indexterm>
752 </listitem>
753 </varlistentry>
754
755 <varlistentry id="libnsl">
756 <term><filename class="libraryfile">libnsl</filename></term>
757 <listitem>
758 <para>The network services library</para>
759 <indexterm zone="ch-cross-tools-eglibc libnsl">
760 <primary sortas="c-libnsl">libnsl</primary>
761 </indexterm>
762 </listitem>
763 </varlistentry>
764
765 <varlistentry id="libnss">
766 <term><filename class="libraryfile">libnss</filename></term>
767 <listitem>
768 <para>The Name Service Switch libraries, containing functions for
769 resolving host names, user names, group names, aliases, services,
770 protocols, etc.</para>
771 <indexterm zone="ch-cross-tools-eglibc libnss">
772 <primary sortas="c-libnss">libnss</primary>
773 </indexterm>
774 </listitem>
775 </varlistentry>
776
777 <varlistentry id="libpcprofile">
778 <term><filename class="libraryfile">libpcprofile</filename></term>
779 <listitem>
780 <para>Contains profiling functions used to track the amount of CPU
781 time spent in specific source code lines</para>
782 <indexterm zone="ch-cross-tools-eglibc libpcprofile">
783 <primary sortas="c-libpcprofile">libpcprofile</primary>
784 </indexterm>
785 </listitem>
786 </varlistentry>
787
788 <varlistentry id="libpthread">
789 <term><filename class="libraryfile">libpthread</filename></term>
790 <listitem>
791 <para>The POSIX threads library</para>
792 <indexterm zone="ch-cross-tools-eglibc libpthread">
793 <primary sortas="c-libpthread">libpthread</primary>
794 </indexterm>
795 </listitem>
796 </varlistentry>
797
798 <varlistentry id="libresolv">
799 <term><filename class="libraryfile">libresolv</filename></term>
800 <listitem>
801 <para>Contains functions for creating, sending, and interpreting
802 packets to the Internet domain name servers</para>
803 <indexterm zone="ch-cross-tools-eglibc libresolv">
804 <primary sortas="c-libresolv">libresolv</primary>
805 </indexterm>
806 </listitem>
807 </varlistentry>
808
809 <varlistentry id="librpcsvc">
810 <term><filename class="libraryfile">librpcsvc</filename></term>
811 <listitem>
812 <para>Contains functions providing miscellaneous RPC services</para>
813 <indexterm zone="ch-cross-tools-eglibc librpcsvc">
814 <primary sortas="c-librpcsvc">librpcsvc</primary>
815 </indexterm>
816 </listitem>
817 </varlistentry>
818
819 <varlistentry id="librt">
820 <term><filename class="libraryfile">librt</filename></term>
821 <listitem>
822 <para>Contains functions providing most of the interfaces specified by
823 the POSIX.1b Realtime Extension</para>
824 <indexterm zone="ch-cross-tools-eglibc librt">
825 <primary sortas="c-librt">librt</primary>
826 </indexterm>
827 </listitem>
828 </varlistentry>
829
830 <varlistentry id="libthread_db">
831 <term><filename class="libraryfile">libthread_db</filename></term>
832 <listitem>
833 <para>Contains functions useful for
834 building debuggers for multi-threaded programs</para>
835 <indexterm zone="ch-cross-tools-eglibc libthread_db">
836 <primary sortas="c-libthread_db">libthread_db</primary>
837 </indexterm>
838 </listitem>
839 </varlistentry>
840
841 <varlistentry id="libutil">
842 <term><filename class="libraryfile">libutil</filename></term>
843 <listitem>
844 <para>Contains code for <quote>standard</quote> functions used in
845 many different Unix utilities</para>
846 <indexterm zone="ch-cross-tools-eglibc libutil">
847 <primary sortas="c-libutil">libutil</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
852 </variablelist>
853
854 </sect2>
855
856</sect1>
Note: See TracBrowser for help on using the repository browser.