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

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

LFS to CLFS changes.

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