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

Last change on this file since 1531f18 was 1531f18, checked in by Jim Gifford <clfs@…>, 18 years ago

r3953@server (orig r1777): jciccone | 2006-06-18 12:55:16 -0700
Added a patch to create the zoneinfo files when glibc installs.

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