source: BOOK/final-system/common/eglibc.xml@ 6a24bdf

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6a24bdf was 8184788, checked in by William Harrington <kb0iic@…>, 11 years ago

Rename Procps to Procps-ng. This may not be valid anymore. We need to look at the note about ja_JA and fr_IR.

  • Property mode set to 100644
File size: 34.9 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[093b0e8]8<sect1 id="ch-system-eglibc" role="wrap">
9 <?dbhtml filename="eglibc.html"?>
[3f8be484]10
[093b0e8]11 <title>EGLIBC-&eglibc-version;</title>
[3f8be484]12
[093b0e8]13 <indexterm zone="ch-system-eglibc">
14 <primary sortas="a-EGLIBC">EGLIBC</primary>
[3f8be484]15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
[093b0e8]20 <para>The EGLIBC package contains the main C library. This library provides
[3f8be484]21 the basic routines for allocating memory, searching directories, opening and
22 closing files, reading and writing files, string handling, pattern matching,
23 arithmetic, and so on.</para>
24
25 </sect2>
26
27 <sect2 role="installation">
[093b0e8]28 <title>Installation of EGLIBC</title>
[3f8be484]29
30 <note os="z">
[a1fb12f]31 <para>Some packages outside of CLFS suggest installing GNU libiconv in
[3f8be484]32 order to translate data from one encoding to another. The project's
33 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
34 <quote>This library provides an <function>iconv()</function>
35 implementation, for use on systems which don't have one, or whose
[093b0e8]36 implementation cannot convert from/to Unicode.</quote> EGLIBC provides
[3f8be484]37 an <function>iconv()</function> implementation and can convert from/to
[a1fb12f]38 Unicode, therefore libiconv is not required on a CLFS system.</para>
[3f8be484]39 </note>
40
[22cd957]41 <para os="l1">At the end of the installation, the build system will run
42 a sanity test to make sure everything installed properly. This script will
43 attempt to test for a library that is only used in the test suite and is
44 never installed. Prevent the script from testing for this library with the
45 following command:</para>
[d8f87e8]46
[22cd957]47<screen os="l2"><userinput>sed -i 's/\(&amp;&amp; $name ne\) "db1"/ &amp; \1 "nss_test1"/' scripts/test-installation.pl</userinput></screen>
48
49 <para os="l3">This same script performs its tests by attempting to compile
50 test programs against certain libraries. However it does not specify the
51 ld.so, and our toolchain is still configured to use the one in /tools. The
52 following set of commands will force the script to use the complete path
53 of the new ld.so that was just installed:</para>
54
55<screen os="l4"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
[d8f87e8]56sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
57 scripts/test-installation.pl
58unset LINKER</userinput></screen>
59
[093b0e8]60 <para os="b">The EGLIBC build system is self-contained and will install
[3f8be484]61 perfectly, even though the compiler specs file and linker are still
62 pointing at <filename class="directory">/tools</filename>. The specs
[093b0e8]63 and linker cannot be adjusted before the EGLIBC install because the
64 EGLIBC Autoconf tests would give false results and defeat the goal
[3f8be484]65 of achieving a clean build.</para>
66
[00a58649]67 <para os="s1">Allow EGLIBC to detect Make-4.x:</para>
68
69<screen os="s2"><userinput>sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>
70
71 <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the source directory in a dedicated build directory:</para>
[3f8be484]72
[093b0e8]73<screen os="f"><userinput>mkdir -v ../eglibc-build
74cd ../eglibc-build</userinput></screen>
[3f8be484]75
[093b0e8]76 <para os="g">Prepare EGLIBC for compilation:</para>
[3f8be484]77
[093b0e8]78<screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \
[52ed4da]79 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc \
80 --enable-obsolete-rpc</userinput></screen>
[3f8be484]81
82 <variablelist os="i">
83 <title>The meaning of the new configure option:</title>
84
85 <varlistentry>
[093b0e8]86 <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term>
[3f8be484]87 <listitem>
[b5bd3744]88 <para>This changes the location of the <command>getconf</command>
89 utility from its default of <filename
[3f8be484]90 class="directory">/usr/libexec</filename> to <filename
[093b0e8]91 class="directory">/usr/lib/eglibc</filename>.</para>
[3f8be484]92 </listitem>
93 </varlistentry>
94 </variablelist>
95
96 <para os="j">Compile the package:</para>
97
98<screen os="k"><userinput>make</userinput></screen>
99
100 <important os="l">
[093b0e8]101 <para>The test suite for EGLIBC is considered critical.
[3f8be484]102 Do not skip it under any circumstance.</para>
103 </important>
104
[d8f87e8]105 <para os="m">Before running the tests, copy a file from the source tree into our
106 build tree to prevent a couple of test failures, then run the tests:</para>
[3f8be484]107
108<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
109
[686839b]110<screen os="n"><userinput remap="test">cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
[0179f08]111make -k check 2&gt;&amp;1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen>
[3f8be484]112
[093b0e8]113 <para os="o">The EGLIBC test suite is highly dependent on certain functions of
[10b2850]114 the host system, in particular the kernel. The posix/annexc test normally fails
115 and you should see <literal>Error 1 (ignored)</literal> in the output. Apart
[093b0e8]116 from this, the EGLIBC test suite is always expected to pass. However, in certain
[10b2850]117 circumstances, some failures are unavoidable. If a test fails because of a missing
118 program (or missing symbolic link), or a segfault, you will see an error code
119 greater than 127 and the details will be in the log. More commonly, tests will
120 fail with <literal>Error 2</literal> - for these, the contents of the corresponding
121 <filename>.out</filename> file, e.g. <filename>posix/annexc.out</filename> may be
122 informative. Here is a list of the most common issues:</para>
[3f8be484]123
124 <itemizedlist os="p">
125 <listitem>
[3514708]126 <para>The <emphasis>math</emphasis> tests sometimes fail.
127 Certain optimization settings are known to be a
128 factor here.</para>
[3f8be484]129 </listitem>
130 <listitem>
[fb40919]131 <para>If you have mounted the CLFS partition with the
[3f8be484]132 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
133 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
134 do not use the <parameter>noatime</parameter> option while building
[fb40919]135 CLFS.</para>
[3f8be484]136 </listitem>
137 <listitem>
138 <para>When running on older and slower hardware, some tests
139 can fail because of test timeouts being exceeded.</para>
140 </listitem>
141 </itemizedlist>
142
[093b0e8]143 <para os="q">Though it is a harmless message, the install stage of EGLIBC will
[3f8be484]144 complain about the absence of <filename>/etc/ld.so.conf</filename>.
145 Prevent this warning with:</para>
146
147<screen os="r"><userinput>touch /etc/ld.so.conf</userinput></screen>
148
[e57ce38]149 <para os="s">Install the package, and remove unneeded files from
150 <filename class="directory">/usr/include/rpcsvc</filename>:</para>
[3f8be484]151
[e57ce38]152<screen os="t"><userinput>make install &amp;&amp;
153rm -v /usr/include/rpcsvc/*.x</userinput></screen>
[3f8be484]154
155 </sect2>
156
[093b0e8]157 <sect2 id="i18n-eglibc" role="configuration">
[3f8be484]158 <title>Internationalization</title>
159
160 <para>The locales that can make the system respond in a different
[5a321cb]161 language were not installed by the above command. Install them
[3f8be484]162 with:</para>
163
164<screen><userinput>make localedata/install-locales</userinput></screen>
165
166 <para>To save time, an alternative to running the previous command (which
[643f8be]167 generates and installs every locale listed in the
[e7aadbe]168 <filename>eglibc-&eglibc-version;/localedata/SUPPORTED</filename> file) is
169 to install only those locales that are wanted and needed. This can be
170 achieved by using the <command>localedef</command> command. Information on
171 this command is located in the <filename>INSTALL</filename> file in the
172 EGLIBC source. However, there are a number of locales that are essential in
173 order for the tests of future packages to pass, in particular, the
[3f8be484]174 <emphasis>libstdc++</emphasis> tests from GCC. The following instructions,
175 instead of the <parameter>install-locales</parameter> target used above,
176 will install the minimum set of locales necessary for the tests to run
177 successfully:</para>
178
[3a3e135]179<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
[8a10f1c]180localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
[3f8be484]181localedef -i de_DE -f ISO-8859-1 de_DE
182localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
183localedef -i en_HK -f ISO-8859-1 en_HK
184localedef -i en_PH -f ISO-8859-1 en_PH
185localedef -i en_US -f ISO-8859-1 en_US
186localedef -i es_MX -f ISO-8859-1 es_MX
187localedef -i fa_IR -f UTF-8 fa_IR
188localedef -i fr_FR -f ISO-8859-1 fr_FR
189localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
190localedef -i it_IT -f ISO-8859-1 it_IT
191localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
192
193 <para>Some locales installed by the <command>make
194 localedata/install-locales</command> command above are not properly
[e3a8717]195 supported by some applications that are in CLFS and CBLFS. Because
[3f8be484]196 of the various problems that arise due to application programmers making
[fb40919]197 assumptions that break in such locales, CLFS should not be used in locales
[3f8be484]198 that utilize multibyte character sets (including UTF-8) or right-to-left
199 writing order. Numerous unofficial and unstable patches are required to
[fb40919]200 fix these problems, and it has been decided by the CLFS developers not to
[643f8be]201 support such complex locales at this time. This applies to the ja_JP and
202 fa_IR locales as well&mdash;they have been installed only for GCC and
203 Gettext tests to pass, and the <command>watch</command> program (part of
[8184788]204 the Procps-ng package) does not work properly in them. Various attempts to
[643f8be]205 circumvent these restrictions are documented in internationalization-related
206 hints.</para>
[3f8be484]207
208 </sect2>
209
[093b0e8]210 <sect2 id="conf-eglibc" role="configuration">
211 <title>Configuring EGLIBC</title>
[3f8be484]212
[093b0e8]213 <indexterm zone="conf-eglibc">
[3f8be484]214 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
215 </indexterm>
216
[093b0e8]217 <indexterm zone="conf-eglibc">
[3f8be484]218 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
219 </indexterm>
220
221 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
[093b0e8]222 because, although EGLIBC provides defaults when this file is missing or
223 corrupt, the EGLIBC defaults do not work well in a networked environment.
[3f8be484]224 The time zone also needs to be configured.</para>
225
226 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running
227 the following:</para>
228
229<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
230<literal># Begin /etc/nsswitch.conf
231
232passwd: files
233group: files
234shadow: files
235
236hosts: files dns
237networks: files
238
239protocols: files
240services: files
241ethers: files
242rpc: files
243
244# End /etc/nsswitch.conf</literal>
245EOF</userinput></screen>
246
[52ed4da]247 <para>Install timezone data:</para>
248<screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
249
250ZONEINFO=/usr/share/zoneinfo
251mkdir -pv $ZONEINFO/{posix,right}
252
253for tz in etcetera southamerica northamerica europe africa antarctica \
[6e778c3]254 asia australasia backward pacificnew \
[52ed4da]255 systemv; do
256 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
257 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
258 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
259done
260
261cp -v zone.tab iso3166.tab $ZONEINFO
262zic -d $ZONEINFO -p America/New_York
263unset ZONEINFO</userinput></screen>
264
265 <variablelist>
266 <title>The meaning of the zic commands:</title>
267
268 <varlistentry>
269 <term><parameter>zic -L /dev/null ...</parameter></term>
270 <listitem>
271 <para>This creates posix timezones, without any leap seconds. It is
272 conventional to put these in both
273 <filename class="directory">zoneinfo</filename> and
274 <filename class="directory">zoneinfo/posix</filename>. It is
275 necessary to put the POSIX timezones in
276 <filename class="directory">zoneinfo</filename>, otherwise various
277 test-suites will report errors. On an embedded system, where space is
278 tight and you do not intend to ever update the timezones, you could save
279 1.9MB by not using the <filename class="directory">posix</filename>
280 directory, but some applications or test-suites might give less good
281 results</para>
282 </listitem>
283 </varlistentry>
284 <varlistentry>
285 <term><parameter>zic -L leapseconds ...</parameter></term>
286 <listitem>
287 <para>This creates right timezones, including leap seconds. On an
288 embedded system, where space is tight and you do not intend to
289 ever update the timezones, or care about the correct time, you could
290 save 1.9MB by omitting the <filename class="directory">right</filename>
291 directory.</para>
292 </listitem>
293 </varlistentry>
294 <varlistentry>
295 <term><parameter>zic ... -p ...</parameter></term>
296 <listitem>
297 <para>This creates the <filename>posixrules</filename> file. We use
298 New York because POSIX requires the daylight savings time rules
299 to be in accordance with US rules.</para>
300 </listitem>
301 </varlistentry>
302 </variablelist>
303
[3f8be484]304 <para>To determine the local time zone, run the following script:</para>
305
[0f3854e]306<screen role="nodump"><userinput>tzselect</userinput></screen>
[3f8be484]307
308 <para>After answering a few questions about the location, the script will
309 output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
310 <emphasis>Canada/Eastern</emphasis>). Then create the
311 <filename>/etc/localtime</filename> file by running:</para>
312
[94e6142]313<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
[3f8be484]314 /etc/localtime</userinput></screen>
315
316 <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
317 that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
318
319 <variablelist>
320 <title>The meaning of the cp option:</title>
321
322 <varlistentry>
323 <term><parameter>--remove-destination</parameter></term>
324 <listitem>
325 <para>This is needed to force removal of the already existing symbolic
326 link. The reason for copying the file instead of using a symlink is to
327 cover the situation where <filename class="directory">/usr</filename>
328 is on a separate partition. This could be important when booted into
329 single user mode.</para>
330 </listitem>
331 </varlistentry>
332 </variablelist>
333
334 </sect2>
335
336 <sect2 id="conf-ld" role="configuration">
[0b637f1]337 <title>Configuring The Dynamic Loader</title>
[3f8be484]338
339 <indexterm zone="conf-ld">
340 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
341 </indexterm>
342
[3998188]343 <para os="ld-a">By default, the dynamic loader (<filename
[3f8be484]344 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
345 <filename class="directory">/lib</filename> and <filename
346 class="directory">/usr/lib</filename> for dynamic libraries that are
347 needed by programs as they are run. However, if there are libraries in
348 directories other than <filename class="directory">/lib</filename> and
349 <filename class="directory">/usr/lib</filename>, these need to be
350 added to the <filename>/etc/ld.so.conf</filename> file in order
351 for the dynamic loader to find them. Two directories that are commonly
352 known to contain additional libraries are <filename
353 class="directory">/usr/local/lib</filename> and <filename
354 class="directory">/opt/lib</filename>, so add those directories to the
355 dynamic loader's search path.</para>
356
[3998188]357 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
[3f8be484]358 following:</para>
359
[3998188]360<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[3f8be484]361<literal># Begin /etc/ld.so.conf
362
363/usr/local/lib
364/opt/lib
365
366# End /etc/ld.so.conf</literal>
367EOF</userinput></screen>
368
369 </sect2>
370
[093b0e8]371 <sect2 id="contents-eglibc" role="content">
372 <title>Contents of EGLIBC</title>
[3f8be484]373
374 <segmentedlist>
375 <segtitle>Installed programs</segtitle>
376 <segtitle>Installed libraries</segtitle>
[61ad0b7f]377 <segtitle>Installed directories</segtitle>
[3f8be484]378
379 <seglistitem>
380 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
[2b220db9]381 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
[b5bd3744]382 pcprofiledump, pldd, rpcgen, sln, sprof, tzselect, xtrace,zdump,
383 and zic</seg>
[3f8be484]384 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
[188b6b2]385 libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so],
386 libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so],
387 libmcheck.a, libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so,
388 libnss_files.so, libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so,
389 libpcprofile.so, libpthread.[a,so], libpthread_nonshared.a,
[3f8be484]390 libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and
391 libutil.[a,so]</seg>
[61ad0b7f]392 <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
393 /usr/include/net, /usr/include/netash, /usr/include/netatalk,
394 /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
395 /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
396 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
397 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
398 /usr/include/sys, /usr/lib/gconv, /usr/lib/eglibc, /usr/lib/locale,
399 /usr/share/i18n, /usr/share/zoneinfo, /var/cache/ldconfig</seg>
[3f8be484]400 </seglistitem>
401 </segmentedlist>
402
403 <variablelist>
404 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
405 <?dbfo list-presentation="list"?>
406 <?dbhtml list-presentation="table"?>
407
408 <varlistentry id="catchsegv">
409 <term><command>catchsegv</command></term>
410 <listitem>
411 <para>Can be used to create a stack trace when a program
412 terminates with a segmentation fault</para>
[093b0e8]413 <indexterm zone="ch-system-eglibc catchsegv">
[3f8be484]414 <primary sortas="b-catchsegv">catchsegv</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="gencat">
420 <term><command>gencat</command></term>
421 <listitem>
422 <para>Generates message catalogues</para>
[093b0e8]423 <indexterm zone="ch-system-eglibc gencat">
[3f8be484]424 <primary sortas="b-gencat">gencat</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="getconf">
430 <term><command>getconf</command></term>
431 <listitem>
432 <para>Displays the system configuration values for file system specific
433 variables</para>
[093b0e8]434 <indexterm zone="ch-system-eglibc getconf">
[3f8be484]435 <primary sortas="b-getconf">getconf</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="getent">
441 <term><command>getent</command></term>
442 <listitem>
443 <para>Gets entries from an administrative database</para>
[093b0e8]444 <indexterm zone="ch-system-eglibc getent">
[3f8be484]445 <primary sortas="b-getent">getent</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="iconv">
451 <term><command>iconv</command></term>
452 <listitem>
453 <para>Performs character set conversion</para>
[093b0e8]454 <indexterm zone="ch-system-eglibc iconv">
[3f8be484]455 <primary sortas="b-iconv">iconv</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
460 <varlistentry id="iconvconfig">
461 <term><command>iconvconfig</command></term>
462 <listitem>
463 <para>Creates fastloading <command>iconv</command> module configuration
464 files</para>
[093b0e8]465 <indexterm zone="ch-system-eglibc iconvconfig">
[3f8be484]466 <primary sortas="b-iconvconfig">iconvconfig</primary>
467 </indexterm>
468 </listitem>
469 </varlistentry>
470
471 <varlistentry id="ldconfig">
472 <term><command>ldconfig</command></term>
473 <listitem>
474 <para>Configures the dynamic linker runtime bindings</para>
[093b0e8]475 <indexterm zone="ch-system-eglibc ldconfig">
[3f8be484]476 <primary sortas="b-ldconfig">ldconfig</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
481 <varlistentry id="ldd">
482 <term><command>ldd</command></term>
483 <listitem>
484 <para>Reports which shared libraries are required
485 by each given program or shared library</para>
[093b0e8]486 <indexterm zone="ch-system-eglibc ldd">
[3f8be484]487 <primary sortas="b-ldd">ldd</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="lddlibc4">
493 <term><command>lddlibc4</command></term>
494 <listitem>
495 <para>Assists <command>ldd</command> with object files</para>
[093b0e8]496 <indexterm zone="ch-system-eglibc lddlibc4">
[3f8be484]497 <primary sortas="b-lddlibc4">lddlibc4</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="locale">
503 <term><command>locale</command></term>
504 <listitem>
505 <para>Tells the compiler to enable or disable the use of POSIX locales
506 for built-in operations</para>
[093b0e8]507 <indexterm zone="ch-system-eglibc locale">
[3f8be484]508 <primary sortas="b-locale">locale</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
513 <varlistentry id="localedef">
514 <term><command>localedef</command></term>
515 <listitem>
516 <para>Compiles locale specifications</para>
[093b0e8]517 <indexterm zone="ch-system-eglibc localedef">
[3f8be484]518 <primary sortas="b-localedef">localedef</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
[2b220db9]523 <varlistentry id="makedb">
524 <term><command>makedb</command></term>
525 <listitem>
526 <para>Creates a simple database from textual input</para>
527 <indexterm zone="ch-system-eglibc makedb">
528 <primary sortas="b-makedb">makedb</primary>
529 </indexterm>
530 </listitem>
531 </varlistentry>
532
[3f8be484]533 <varlistentry id="mtrace">
534 <term><command>mtrace</command></term>
535 <listitem>
536 <para>Reads and interprets a memory trace file and
537 displays a summary in human-readable format</para>
[093b0e8]538 <indexterm zone="ch-system-eglibc mtrace">
[3f8be484]539 <primary sortas="b-mtrace">mtrace</primary>
540 </indexterm>
541 </listitem>
542 </varlistentry>
543
544 <varlistentry id="nscd">
545 <term><command>nscd</command></term>
546 <listitem>
547 <para>A daemon that provides a cache for the most common name
548 service requests</para>
[093b0e8]549 <indexterm zone="ch-system-eglibc nscd">
[3f8be484]550 <primary sortas="b-nscd">nscd</primary>
551 </indexterm>
552 </listitem>
553 </varlistentry>
554
555 <varlistentry id="pcprofiledump">
556 <term><command>pcprofiledump</command></term>
557 <listitem>
558 <para>Dumps information generated by PC profiling</para>
[093b0e8]559 <indexterm zone="ch-system-eglibc pcprofiledump">
[3f8be484]560 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
[2b220db9]565 <varlistentry id="pldd">
566 <term><command>pldd</command></term>
567 <listitem>
568 <para>Lists dynamic shared objects used by running processes</para>
569 <indexterm zone="ch-system-eglibc pldd">
570 <primary sortas="b-pldd">pldd</primary>
571 </indexterm>
572 </listitem>
573 </varlistentry>
574
[3f8be484]575 <varlistentry id="rpcgen">
576 <term><command>rpcgen</command></term>
577 <listitem>
578 <para>Generates C code to implement the Remote Procecure Call (RPC)
579 protocol</para>
[093b0e8]580 <indexterm zone="ch-system-eglibc rpcgen">
[3f8be484]581 <primary sortas="b-rpcgen">rpcgen</primary>
582 </indexterm>
583 </listitem>
584 </varlistentry>
585
586 <varlistentry id="sln">
587 <term><command>sln</command></term>
588 <listitem>
[7087cbc]589 <para>A statically linked program that creates symbolic links</para>
[093b0e8]590 <indexterm zone="ch-system-eglibc sln">
[3f8be484]591 <primary sortas="b-sln">sln</primary>
592 </indexterm>
593 </listitem>
594 </varlistentry>
595
[2b220db9]596 <varlistentry id="sotruss">
597 <term><command>sotruss</command></term>
598 <listitem>
599 <para>Traces shared library procedure calls of a specified command</para>
600 <indexterm zone="ch-system-eglibc sotruss">
601 <primary sortas="b-sotruss">sotruss</primary>
602 </indexterm>
603 </listitem>
604 </varlistentry>
605
[3f8be484]606 <varlistentry id="sprof">
607 <term><command>sprof</command></term>
608 <listitem>
609 <para>Reads and displays shared object profiling data</para>
[093b0e8]610 <indexterm zone="ch-system-eglibc sprof">
[3f8be484]611 <primary sortas="b-sprof">sprof</primary>
612 </indexterm>
613 </listitem>
614 </varlistentry>
615
616 <varlistentry id="tzselect">
617 <term><command>tzselect</command></term>
618 <listitem>
619 <para>Asks the user about the location of the
620 system and reports the corresponding time zone description</para>
[093b0e8]621 <indexterm zone="ch-system-eglibc tzselect">
[3f8be484]622 <primary sortas="b-tzselect">tzselect</primary>
623 </indexterm>
624 </listitem>
625 </varlistentry>
626
627 <varlistentry id="xtrace">
628 <term><command>xtrace</command></term>
629 <listitem>
630 <para>Traces the execution of a program by
631 printing the currently executed function</para>
[093b0e8]632 <indexterm zone="ch-system-eglibc xtrace">
[3f8be484]633 <primary sortas="b-xtrace">xtrace</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 <varlistentry id="zdump">
639 <term><command>zdump</command></term>
640 <listitem>
641 <para>The time zone dumper</para>
[093b0e8]642 <indexterm zone="ch-system-eglibc zdump">
[3f8be484]643 <primary sortas="b-zdump">zdump</primary>
644 </indexterm>
645 </listitem>
646 </varlistentry>
647
648 <varlistentry id="zic">
649 <term><command>zic</command></term>
650 <listitem>
651 <para>The time zone compiler</para>
[093b0e8]652 <indexterm zone="ch-system-eglibc zic">
[3f8be484]653 <primary sortas="b-zic">zic</primary>
654 </indexterm>
655 </listitem>
656 </varlistentry>
657
658 <varlistentry id="ld.so">
659 <term><filename class="libraryfile">ld.so</filename></term>
660 <listitem>
661 <para>The helper program for shared library executables</para>
[093b0e8]662 <indexterm zone="ch-system-eglibc ld.so">
[3f8be484]663 <primary sortas="c-ld.so">ld.so</primary>
664 </indexterm>
665 </listitem>
666 </varlistentry>
667
668 <varlistentry id="libBrokenLocale">
669 <term><filename class="libraryfile">libBrokenLocale</filename></term>
670 <listitem>
671 <para>Used by programs, such as Mozilla, to solve broken locales</para>
[093b0e8]672 <indexterm zone="ch-system-eglibc libBrokenLocale">
[3f8be484]673 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
674 </indexterm>
675 </listitem>
676 </varlistentry>
677
678 <varlistentry id="libSegFault">
679 <term><filename class="libraryfile">libSegFault</filename></term>
680 <listitem>
681 <para>The segmentation fault signal handler</para>
[093b0e8]682 <indexterm zone="ch-system-eglibc libSegFault">
[3f8be484]683 <primary sortas="c-libSegFault">libSegFault</primary>
684 </indexterm>
685 </listitem>
686 </varlistentry>
687
688 <varlistentry id="libanl">
689 <term><filename class="libraryfile">libanl</filename></term>
690 <listitem>
691 <para>An asynchronous name lookup library</para>
[093b0e8]692 <indexterm zone="ch-system-eglibc libanl">
[3f8be484]693 <primary sortas="c-libanl">libanl</primary>
694 </indexterm>
695 </listitem>
696 </varlistentry>
697
698 <varlistentry id="libbsd-compat">
699 <term><filename class="libraryfile">libbsd-compat</filename></term>
700 <listitem>
701 <para>Provides the portability needed
702 in order to run certain Berkey Software Distribution (BSD) programs
703 under Linux</para>
[093b0e8]704 <indexterm zone="ch-system-eglibc libbsd-compat">
[3f8be484]705 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
706 </indexterm>
707 </listitem>
708 </varlistentry>
709
710 <varlistentry id="libc">
711 <term><filename class="libraryfile">libc</filename></term>
712 <listitem>
713 <para>The main C library</para>
[093b0e8]714 <indexterm zone="ch-system-eglibc libc">
[3f8be484]715 <primary sortas="c-libc">libc</primary>
716 </indexterm>
717 </listitem>
718 </varlistentry>
719
[188b6b2]720 <varlistentry id="libcidn">
721 <term><filename class="libraryfile">libcidn</filename></term>
722 <listitem>
723 <para>Used internally by EGLIBC for handling internationalized domain
724 names in the <function>getaddrinfo()</function> function</para>
725 <indexterm zone="ch-system-eglibc libcidn">
726 <primary sortas="c-libcidn">libcidn</primary>
727 </indexterm>
728 </listitem>
729 </varlistentry>
730
[3f8be484]731 <varlistentry id="libcrypt">
732 <term><filename class="libraryfile">libcrypt</filename></term>
733 <listitem>
734 <para>The cryptography library</para>
[093b0e8]735 <indexterm zone="ch-system-eglibc libcrypt">
[3f8be484]736 <primary sortas="c-libcrypt">libcrypt</primary>
737 </indexterm>
738 </listitem>
739 </varlistentry>
740
741 <varlistentry id="libdl">
742 <term><filename class="libraryfile">libdl</filename></term>
743 <listitem>
744 <para>The dynamic linking interface library</para>
[093b0e8]745 <indexterm zone="ch-system-eglibc libdl">
[3f8be484]746 <primary sortas="c-libdl">libdl</primary>
747 </indexterm>
748 </listitem>
749 </varlistentry>
750
751 <varlistentry id="libg">
752 <term><filename class="libraryfile">libg</filename></term>
753 <listitem>
754 <para>A runtime library for <command>g++</command></para>
[093b0e8]755 <indexterm zone="ch-system-eglibc libg">
[3f8be484]756 <primary sortas="c-libg">libg</primary>
757 </indexterm>
758 </listitem>
759 </varlistentry>
760
761 <varlistentry id="libieee">
762 <term><filename class="libraryfile">libieee</filename></term>
763 <listitem>
764 <para>The Institute of Electrical and Electronic Engineers (IEEE)
765 floating point library</para>
[093b0e8]766 <indexterm zone="ch-system-eglibc libieee">
[3f8be484]767 <primary sortas="c-libieee">libieee</primary>
768 </indexterm>
769 </listitem>
770 </varlistentry>
771
772 <varlistentry id="libm">
773 <term><filename class="libraryfile">libm</filename></term>
774 <listitem>
775 <para>The mathematical library</para>
[093b0e8]776 <indexterm zone="ch-system-eglibc libm">
[3f8be484]777 <primary sortas="c-libm">libm</primary>
778 </indexterm>
779 </listitem>
780 </varlistentry>
781
782 <varlistentry id="libmcheck">
783 <term><filename class="libraryfile">libmcheck</filename></term>
784 <listitem>
785 <para>Contains code run at boot</para>
[093b0e8]786 <indexterm zone="ch-system-eglibc libmcheck">
[3f8be484]787 <primary sortas="c-libmcheck">libmcheck</primary>
788 </indexterm>
789 </listitem>
790 </varlistentry>
791
792 <varlistentry id="libmemusage">
793 <term><filename class="libraryfile">libmemusage</filename></term>
794 <listitem>
[093b0e8]795 <para>Used by <command>memusage</command> (included in EGLIBC, but
[7087cbc]796 not built in a base CLFS system as it has additional dependencies)
797 to help collect information about the memory usage of a program</para>
[093b0e8]798 <indexterm zone="ch-system-eglibc libmemusage">
[3f8be484]799 <primary sortas="c-libmemusage">libmemusage</primary>
800 </indexterm>
801 </listitem>
802 </varlistentry>
803
804 <varlistentry id="libnsl">
805 <term><filename class="libraryfile">libnsl</filename></term>
806 <listitem>
807 <para>The network services library</para>
[093b0e8]808 <indexterm zone="ch-system-eglibc libnsl">
[3f8be484]809 <primary sortas="c-libnsl">libnsl</primary>
810 </indexterm>
811 </listitem>
812 </varlistentry>
813
814 <varlistentry id="libnss">
815 <term><filename class="libraryfile">libnss</filename></term>
816 <listitem>
817 <para>The Name Service Switch libraries, containing functions for
818 resolving host names, user names, group names, aliases, services,
819 protocols, etc.</para>
[093b0e8]820 <indexterm zone="ch-system-eglibc libnss">
[3f8be484]821 <primary sortas="c-libnss">libnss</primary>
822 </indexterm>
823 </listitem>
824 </varlistentry>
825
826 <varlistentry id="libpcprofile">
827 <term><filename class="libraryfile">libpcprofile</filename></term>
828 <listitem>
829 <para>Contains profiling functions used to track the amount of CPU
830 time spent in specific source code lines</para>
[093b0e8]831 <indexterm zone="ch-system-eglibc libpcprofile">
[3f8be484]832 <primary sortas="c-libpcprofile">libpcprofile</primary>
833 </indexterm>
834 </listitem>
835 </varlistentry>
836
837 <varlistentry id="libpthread">
838 <term><filename class="libraryfile">libpthread</filename></term>
839 <listitem>
840 <para>The POSIX threads library</para>
[093b0e8]841 <indexterm zone="ch-system-eglibc libpthread">
[3f8be484]842 <primary sortas="c-libpthread">libpthread</primary>
843 </indexterm>
844 </listitem>
845 </varlistentry>
846
847 <varlistentry id="libresolv">
848 <term><filename class="libraryfile">libresolv</filename></term>
849 <listitem>
850 <para>Contains functions for creating, sending, and interpreting
851 packets to the Internet domain name servers</para>
[093b0e8]852 <indexterm zone="ch-system-eglibc libresolv">
[3f8be484]853 <primary sortas="c-libresolv">libresolv</primary>
854 </indexterm>
855 </listitem>
856 </varlistentry>
857
858 <varlistentry id="librpcsvc">
859 <term><filename class="libraryfile">librpcsvc</filename></term>
860 <listitem>
861 <para>Contains functions providing miscellaneous RPC services</para>
[093b0e8]862 <indexterm zone="ch-system-eglibc librpcsvc">
[3f8be484]863 <primary sortas="c-librpcsvc">librpcsvc</primary>
864 </indexterm>
865 </listitem>
866 </varlistentry>
867
868 <varlistentry id="librt">
869 <term><filename class="libraryfile">librt</filename></term>
870 <listitem>
871 <para>Contains functions providing most of the interfaces specified by
872 the POSIX.1b Realtime Extension</para>
[093b0e8]873 <indexterm zone="ch-system-eglibc librt">
[3f8be484]874 <primary sortas="c-librt">librt</primary>
875 </indexterm>
876 </listitem>
877 </varlistentry>
878
879 <varlistentry id="libthread_db">
880 <term><filename class="libraryfile">libthread_db</filename></term>
881 <listitem>
882 <para>Contains functions useful for
883 building debuggers for multi-threaded programs</para>
[093b0e8]884 <indexterm zone="ch-system-eglibc libthread_db">
[3f8be484]885 <primary sortas="c-libthread_db">libthread_db</primary>
886 </indexterm>
887 </listitem>
888 </varlistentry>
889
890 <varlistentry id="libutil">
891 <term><filename class="libraryfile">libutil</filename></term>
892 <listitem>
893 <para>Contains code for <quote>standard</quote> functions used in
894 many different Unix utilities</para>
[093b0e8]895 <indexterm zone="ch-system-eglibc libutil">
[3f8be484]896 <primary sortas="c-libutil">libutil</primary>
897 </indexterm>
898 </listitem>
899 </varlistentry>
900
901 </variablelist>
902
903 </sect2>
904
905</sect1>
Note: See TracBrowser for help on using the repository browser.