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

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

Add a seperate build of Localedef to EGLIBC and fix the installation of locales.

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