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

Last change on this file since 46f892a was 7d57b83, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Also add libc_cv_gnu89_inline=yes to the glibc config.cache.

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