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

Last change on this file since 8a63c91 was 51a1403, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Updated Glibc to EGlibc 2.10.1.
Updated the Bootscripts to 1.2-pre8.

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