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

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

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

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