source: chapter06/glibc.xml@ 3dc9543

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 3dc9543 was 3dc9543, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Change kmod instructions to allow installation of man pages.
Numerous whitespace fixes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10480 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 34.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-glibc" role="wrap">
9 <?dbhtml filename="glibc.html"?>
10
11 <sect1info condition="script">
12 <productname>glibc</productname>
13 <productnumber>&glibc-version;</productnumber>
14 <address>&glibc-url;</address>
15 </sect1info>
16
17 <title>Glibc-&glibc-version;</title>
18
19 <indexterm zone="ch-system-glibc">
20 <primary sortas="a-Glibc">Glibc</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Glibc package contains the main C library. This library provides
27 the basic routines for allocating memory, searching directories, opening and
28 closing files, reading and writing files, string handling, pattern matching,
29 arithmetic, and so on.</para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&glibc-ch6-sbu;</seg>
37 <seg>&glibc-ch6-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Glibc</title>
45
46 <note>
47 <para>Some packages outside of LFS suggest installing GNU libiconv in
48 order to translate data from one encoding to another. The project's
49 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
50 <quote>This library provides an <function>iconv()</function>
51 implementation, for use on systems which don't have one, or whose
52 implementation cannot convert from/to Unicode.</quote> Glibc provides
53 an <function>iconv()</function> implementation and can convert from/to
54 Unicode, therefore libiconv is not required on an LFS system.</para>
55 </note>
56
57 <para>First fix a minor problem when installing the tzselect script:</para>
58
59<screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen>
60
61 <para>The Glibc build system is self-contained and will install
62 perfectly, even though the compiler specs file and linker are still
63 pointing at <filename class="directory">/tools</filename>. The specs
64 and linker cannot be adjusted before the Glibc install because the
65 Glibc autoconf tests would give false results and defeat the goal
66 of achieving a clean build.</para>
67
68 <para>The Glibc documentation recommends building Glibc outside of the source
69 directory in a dedicated build directory:</para>
70
71<screen><userinput remap="pre">mkdir -v ../glibc-build
72cd ../glibc-build</userinput></screen>
73
74 <para>Prepare Glibc for compilation:</para>
75
76<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
77 --prefix=/usr \
78 --disable-profile \
79 --enable-kernel=&min-kernel; \
80 --enable-obsolete-rpc</userinput></screen>
81
82 <variablelist>
83 <title>The meaning of the new configure options:</title>
84
85 <varlistentry>
86 <term><parameter>--enable-obsolete-rpc</parameter></term>
87 <listitem>
88 <para>Installs NIS and RPC related headers that are not installed by
89 default; these are required to rebuild Glibc and by several BLFS
90 packages.</para>
91 </listitem>
92 </varlistentry>
93
94 </variablelist>
95
96 <para>Compile the package:</para>
97
98<screen><userinput remap="make">make</userinput></screen>
99
100 <important>
101 <para>In this section, the test suite for Glibc is considered critical.
102 Do not skip it under any circumstance.</para>
103 </important>
104
105 <para>Generally a few tests do not pass, but you can generally ignore
106 any of the test failures listed below. Now test the build results:</para>
107
108<screen><userinput remap="test">make -k check 2&gt;&amp;1 | tee glibc-check-log
109grep Error glibc-check-log</userinput></screen>
110
111 <para>You will probably see an expected (ignored) failure in the
112 <emphasis>posix/annexc</emphasis> and
113 <emphasis>conform/run-conformtest</emphasis> tests. In addition the Glibc
114 test suite is somewhat dependent on the host system. This is a list of the
115 most common issues:</para>
116
117 <itemizedlist>
118
119 <listitem>
120 <para>The <emphasis>nptl/tst-clock2</emphasis>,
121 <emphasis>nptl/tst-attr3</emphasis>,
122 <emphasis>tst/tst-cputimer1</emphasis>, and
123 <emphasis>rt/tst-cpuclock2</emphasis>
124 tests have been known to fail. The
125 reason is not completely understood, but indications are that minor
126 timing issues can trigger these failures.</para>
127 </listitem>
128
129 <listitem>
130 <para>The math tests sometimes fail when running on
131 systems where the CPU is not a relatively new genuine Intel or
132 authentic AMD processor.</para>
133 </listitem>
134
135 <listitem>
136 <para>When running on older and slower hardware or on systems under
137 load, some tests can fail because of test timeouts being exceeded.
138 Modifying the make check command to set a TIMEOUTFACTOR is reported to
139 help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
140 make -k check</command>).</para>
141 </listitem>
142
143 <listitem>
144 <para>posix/tst-getaddrinfo4 will always fail due to not having a network
145 connection when the test is run.</para>
146 </listitem>
147
148 <listitem>
149 <para>libio/tst-ftell-partial-wide.out fails because it needs a locale
150 that has not yet been generated.</para>
151 </listitem>
152
153 <listitem>
154 <para>Other tests known to fail on some architectures are posix/bug-regex32,
155 misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, nptl/tst-robust8,
156 and stdio-common/bug22.</para>
157 </listitem>
158
159 </itemizedlist>
160
161 <para>Though it is a harmless message, the install stage of Glibc will
162 complain about the absence of <filename>/etc/ld.so.conf</filename>.
163 Prevent this warning with:</para>
164
165<screen><userinput remap="install">touch /etc/ld.so.conf</userinput></screen>
166
167 <para>Install the package:</para>
168
169<screen><userinput remap="install">make install</userinput></screen>
170
171 <para>The locales that can make the system respond in a different language
172 were not installed by the above command. None of the locales are required,
173 but if some of them are missing, test suites of the future packages would
174 skip important testcases.</para>
175
176 <para>Individual locales can be installed using the
177 <command>localedef</command> program. E.g., the first
178 <command>localedef</command> command below combines the
179 <filename>/usr/share/i18n/locales/cs_CZ</filename>
180 charset-independent locale definition with the
181 <filename>/usr/share/i18n/charmaps/UTF-8.gz</filename>
182 charmap definition and appends the result to the
183 <filename>/usr/lib/locale/locale-archive</filename> file.
184 The following instructions will install the minimum set of
185 locales necessary for the optimal coverage of tests:</para>
186
187<screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale
188localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
189localedef -i de_DE -f ISO-8859-1 de_DE
190localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
191localedef -i de_DE -f UTF-8 de_DE.UTF-8
192localedef -i en_GB -f UTF-8 en_GB.UTF-8
193localedef -i en_HK -f ISO-8859-1 en_HK
194localedef -i en_PH -f ISO-8859-1 en_PH
195localedef -i en_US -f ISO-8859-1 en_US
196localedef -i en_US -f UTF-8 en_US.UTF-8
197localedef -i es_MX -f ISO-8859-1 es_MX
198localedef -i fa_IR -f UTF-8 fa_IR
199localedef -i fr_FR -f ISO-8859-1 fr_FR
200localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
201localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
202localedef -i it_IT -f ISO-8859-1 it_IT
203localedef -i it_IT -f UTF-8 it_IT.UTF-8
204localedef -i ja_JP -f EUC-JP ja_JP
205localedef -i ru_RU -f KOI8-R ru_RU.KOI8-R
206localedef -i ru_RU -f UTF-8 ru_RU.UTF-8
207localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
208localedef -i zh_CN -f GB18030 zh_CN.GB18030</userinput></screen>
209
210 <para>In addition, install the locale for your own country, language and
211 character set.</para>
212
213 <para>Alternatively, install all locales listed in the
214 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
215 (it includes every locale listed above and many more) at once with the
216 following time-consuming command:</para>
217
218<screen><userinput remap="locale-full">make localedata/install-locales</userinput></screen>
219
220 <para>Then use the <command>localedef</command> command to create and
221 install locales not listed in the
222 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
223 in the unlikely case you need them.</para>
224
225 </sect2>
226
227 <sect2 id="conf-glibc" role="configuration">
228 <title>Configuring Glibc</title>
229
230 <indexterm zone="conf-glibc">
231 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
232 </indexterm>
233
234 <indexterm zone="conf-glibc">
235 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
236 </indexterm>
237
238 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
239 because, although Glibc provides defaults when this file is missing or corrupt,
240 the Glibc defaults do not work well in a networked environment. The time zone
241 also needs to be configured.</para>
242
243 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
244 following:</para>
245
246<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
247<literal># Begin /etc/nsswitch.conf
248
249passwd: files
250group: files
251shadow: files
252
253hosts: files dns
254networks: files
255
256protocols: files
257services: files
258ethers: files
259rpc: files
260
261# End /etc/nsswitch.conf</literal>
262EOF</userinput></screen>
263
264 <para>Install timezone data:</para>
265<screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
266
267ZONEINFO=/usr/share/zoneinfo
268mkdir -pv $ZONEINFO/{posix,right}
269
270for tz in etcetera southamerica northamerica europe africa antarctica \
271 asia australasia backward pacificnew systemv; do
272 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
273 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
274 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
275done
276
277cp -v zone.tab iso3166.tab $ZONEINFO
278zic -d $ZONEINFO -p America/New_York
279unset ZONEINFO</userinput></screen>
280
281 <variablelist>
282 <title>The meaning of the zic commands:</title>
283
284 <varlistentry>
285 <term><parameter>zic -L /dev/null ...</parameter></term>
286 <listitem>
287 <para>This creates posix timezones, without any leap seconds. It is
288 conventional to put these in both
289 <filename class="directory">zoneinfo</filename> and
290 <filename class="directory">zoneinfo/posix</filename>. It is
291 necessary to put the POSIX timezones in
292 <filename class="directory">zoneinfo</filename>, otherwise various
293 test-suites will report errors. On an embedded system, where space is
294 tight and you do not intend to ever update the timezones, you could save
295 1.9MB by not using the <filename class="directory">posix</filename>
296 directory, but some applications or test-suites might give less good
297 results</para>
298 </listitem>
299 </varlistentry>
300 <varlistentry>
301 <term><parameter>zic -L leapseconds ...</parameter></term>
302 <listitem>
303 <para>This creates right timezones, including leap seconds. On an
304 embedded system, where space is tight and you do not intend to
305 ever update the timezones, or care about the correct time, you could
306 save 1.9MB by omitting the <filename class="directory">right</filename>
307 directory.</para>
308 </listitem>
309 </varlistentry>
310 <varlistentry>
311 <term><parameter>zic ... -p ...</parameter></term>
312 <listitem>
313 <para>This creates the <filename>posixrules</filename> file. We use
314 New York because POSIX requires the daylight savings time rules
315 to be in accordance with US rules.</para>
316 </listitem>
317 </varlistentry>
318 </variablelist>
319
320
321 <para>One way to determine the local time zone is to run the following
322 script:</para>
323
324<screen role="nodump"><userinput>tzselect</userinput></screen>
325
326 <para>After answering a few questions about the location, the script will
327 output the name of the time zone (e.g.,
328 <emphasis>America/Edmonton</emphasis>). There are also some other possible
329 timezones listed in <filename
330 class='directory'>/usr/share/zoneinfo</filename> such as
331 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
332 are not identified by the script but can be used.</para>
333
334 <para>Then create the <filename>/etc/localtime</filename> file by
335 running:</para>
336
337<screen><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
338
339 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
340 time zone selected (e.g., Canada/Eastern).</para>
341
342 </sect2>
343
344 <sect2 id="conf-ld" role="configuration">
345 <title>Configuring the Dynamic Loader</title>
346
347 <indexterm zone="conf-ld">
348 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
349 </indexterm>
350
351 <para>By default, the dynamic loader (<filename
352 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
353 <filename class="directory">/lib</filename> and <filename
354 class="directory">/usr/lib</filename> for dynamic libraries that are
355 needed by programs as they are run. However, if there are libraries in
356 directories other than <filename class="directory">/lib</filename> and
357 <filename class="directory">/usr/lib</filename>, these need to be added
358 to the <filename>/etc/ld.so.conf</filename> file in order for the
359 dynamic loader to find them. Two directories that are commonly known
360 to contain additional libraries are <filename
361 class="directory">/usr/local/lib</filename> and <filename
362 class="directory">/opt/lib</filename>, so add those directories to the
363 dynamic loader's search path.</para>
364
365 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
366 following:</para>
367
368<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
369<literal># Begin /etc/ld.so.conf
370/usr/local/lib
371/opt/lib
372</literal>
373EOF</userinput></screen>
374
375 <para>If desired, the dynamic loader can also search a directory and
376 include the contents of files found there. Generally the files in
377 this include directory are one line specifying the desired library path.
378 To add this capability run the following commands:</para>
379
380<screen role="nodump"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
381<literal># Add an include directory
382include /etc/ld.so.conf.d/*.conf
383</literal>
384EOF
385mkdir -pv /etc/ld.so.conf.d</userinput></screen>
386
387 </sect2>
388
389 <sect2 id="contents-glibc" role="content">
390 <title>Contents of Glibc</title>
391
392 <segmentedlist>
393 <segtitle>Installed programs</segtitle>
394 <segtitle>Installed libraries</segtitle>
395 <segtitle>Installed directories</segtitle>
396
397 <seglistitem>
398 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
399 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, pcprofiledump,
400 pldd, rpcgen, sln, sotruss, sprof, tzselect, xtrace,
401 zdump, and zic</seg>
402 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
403 libc.{a,so}, libc_nonshared.a, libcidn.so,
404 libcrypt.{a,so}, libdl.{a,so}, libg.a, libieee.a, libm.{a,so},
405 libmcheck.a, libmemusage.so, libnsl.{a,so}, libnss_compat.so,
406 libnss_dns.so, libnss_files.so, libnss_hesiod.so, libnss_nis.so,
407 libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
408 libpthread_nonshared.a, libresolv.{a,so}, librpcsvc.a, librt.{a,so},
409 libthread_db.so, and libutil.{a,so}</seg>
410 <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
411 /usr/include/net, /usr/include/netash, /usr/include/netatalk,
412 /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
413 /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
414 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
415 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
416 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/glibc,
417 /usr/lib/locale, /usr/share/i18n, /usr/share/zoneinfo, /var/db</seg>
418 </seglistitem>
419 </segmentedlist>
420
421 <variablelist>
422 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
423 <?dbfo list-presentation="list"?>
424 <?dbhtml list-presentation="table"?>
425
426 <varlistentry id="catchsegv">
427 <term><command>catchsegv</command></term>
428 <listitem>
429 <para>Can be used to create a stack trace when a program
430 terminates with a segmentation fault</para>
431 <indexterm zone="ch-system-glibc catchsegv">
432 <primary sortas="b-catchsegv">catchsegv</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="gencat">
438 <term><command>gencat</command></term>
439 <listitem>
440 <para>Generates message catalogues</para>
441 <indexterm zone="ch-system-glibc gencat">
442 <primary sortas="b-gencat">gencat</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="getconf">
448 <term><command>getconf</command></term>
449 <listitem>
450 <para>Displays the system configuration values for file system
451 specific variables</para>
452 <indexterm zone="ch-system-glibc getconf">
453 <primary sortas="b-getconf">getconf</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="getent">
459 <term><command>getent</command></term>
460 <listitem>
461 <para>Gets entries from an administrative database</para>
462 <indexterm zone="ch-system-glibc getent">
463 <primary sortas="b-getent">getent</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="iconv">
469 <term><command>iconv</command></term>
470 <listitem>
471 <para>Performs character set conversion</para>
472 <indexterm zone="ch-system-glibc iconv">
473 <primary sortas="b-iconv">iconv</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="iconvconfig">
479 <term><command>iconvconfig</command></term>
480 <listitem>
481 <para>Creates fastloading <command>iconv</command> module configuration
482 files</para>
483 <indexterm zone="ch-system-glibc iconvconfig">
484 <primary sortas="b-iconvconfig">iconvconfig</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 <varlistentry id="ldconfig">
490 <term><command>ldconfig</command></term>
491 <listitem>
492 <para>Configures the dynamic linker runtime bindings</para>
493 <indexterm zone="ch-system-glibc ldconfig">
494 <primary sortas="b-ldconfig">ldconfig</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="ldd">
500 <term><command>ldd</command></term>
501 <listitem>
502 <para>Reports which shared libraries are required
503 by each given program or shared library</para>
504 <indexterm zone="ch-system-glibc ldd">
505 <primary sortas="b-ldd">ldd</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="lddlibc4">
511 <term><command>lddlibc4</command></term>
512 <listitem>
513 <para>Assists <command>ldd</command> with object files</para>
514 <indexterm zone="ch-system-glibc lddlibc4">
515 <primary sortas="b-lddlibc4">lddlibc4</primary>
516 </indexterm>
517 </listitem>
518 </varlistentry>
519
520 <varlistentry id="locale">
521 <term><command>locale</command></term>
522 <listitem>
523 <para>Prints various information about the current locale</para>
524 <indexterm zone="ch-system-glibc locale">
525 <primary sortas="b-locale">locale</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="localedef">
531 <term><command>localedef</command></term>
532 <listitem>
533 <para>Compiles locale specifications</para>
534 <indexterm zone="ch-system-glibc localedef">
535 <primary sortas="b-localedef">localedef</primary>
536 </indexterm>
537 </listitem>
538 </varlistentry>
539
540 <varlistentry id="makedb">
541 <term><command>makedb</command></term>
542 <listitem>
543 <para>Creates a simple database from textual input</para>
544 <indexterm zone="ch-system-glibc makedb">
545 <primary sortas="b-makedb">makedb</primary>
546 </indexterm>
547 </listitem>
548 </varlistentry>
549
550 <varlistentry id="mtrace">
551 <term><command>mtrace</command></term>
552 <listitem>
553 <para>Reads and interprets a memory trace file and displays a summary
554 in human-readable format</para>
555 <indexterm zone="ch-system-glibc mtrace">
556 <primary sortas="b-mtrace">mtrace</primary>
557 </indexterm>
558 </listitem>
559 </varlistentry>
560
561 <varlistentry id="nscd">
562 <term><command>nscd</command></term>
563 <listitem>
564 <para>A daemon that provides a cache for the most common name
565 service requests</para>
566 <indexterm zone="ch-system-glibc nscd">
567 <primary sortas="b-nscd">nscd</primary>
568 </indexterm>
569 </listitem>
570 </varlistentry>
571
572 <varlistentry id="pcprofiledump">
573 <term><command>pcprofiledump</command></term>
574 <listitem>
575 <para>Dumps information generated by PC profiling</para>
576 <indexterm zone="ch-system-glibc pcprofiledump">
577 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
578 </indexterm>
579 </listitem>
580 </varlistentry>
581
582 <varlistentry id="pldd">
583 <term><command>pldd</command></term>
584 <listitem>
585 <para>Lists dynamic shared objects used by running processes</para>
586 <indexterm zone="ch-system-glibc pldd">
587 <primary sortas="b-pldd">pldd</primary>
588 </indexterm>
589 </listitem>
590 </varlistentry>
591<!--
592 <varlistentry id="pt_chown">
593 <term><command>pt_chown</command></term>
594 <listitem>
595 <para>A helper program for <command>grantpt</command> to set the owner,
596 group and access permissions of a slave pseudo terminal</para>
597 <indexterm zone="ch-system-glibc pt_chown">
598 <primary sortas="b-pt_chown">pt_chown</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602-->
603 <varlistentry id="rpcgen">
604 <term><command>rpcgen</command></term>
605 <listitem>
606 <para>Generates C code to implement the Remote Procedure Call (RPC)
607 protocol</para>
608 <indexterm zone="ch-system-glibc rpcgen">
609 <primary sortas="b-rpcgen">rpcgen</primary>
610 </indexterm>
611 </listitem>
612 </varlistentry>
613
614 <varlistentry id="sln">
615 <term><command>sln</command></term>
616 <listitem>
617 <para>A statically linked <command>ln</command> program</para>
618 <indexterm zone="ch-system-glibc sln">
619 <primary sortas="b-sln">sln</primary>
620 </indexterm>
621 </listitem>
622 </varlistentry>
623
624 <varlistentry id="sotruss">
625 <term><command>sotruss</command></term>
626 <listitem>
627 <para>Traces shared library procedure calls of a specified command</para>
628 <indexterm zone="ch-system-glibc sotruss">
629 <primary sortas="b-sotruss">sotruss</primary>
630 </indexterm>
631 </listitem>
632 </varlistentry>
633
634 <varlistentry id="sprof">
635 <term><command>sprof</command></term>
636 <listitem>
637 <para>Reads and displays shared object profiling data</para>
638 <indexterm zone="ch-system-glibc sprof">
639 <primary sortas="b-sprof">sprof</primary>
640 </indexterm>
641 </listitem>
642 </varlistentry>
643
644 <varlistentry id="tzselect">
645 <term><command>tzselect</command></term>
646 <listitem>
647 <para>Asks the user about the location of the system and reports
648 the corresponding time zone description</para>
649 <indexterm zone="ch-system-glibc tzselect">
650 <primary sortas="b-tzselect">tzselect</primary>
651 </indexterm>
652 </listitem>
653 </varlistentry>
654
655 <varlistentry id="xtrace">
656 <term><command>xtrace</command></term>
657 <listitem>
658 <para>Traces the execution of a program by printing the currently
659 executed function</para>
660 <indexterm zone="ch-system-glibc xtrace">
661 <primary sortas="b-xtrace">xtrace</primary>
662 </indexterm>
663 </listitem>
664 </varlistentry>
665
666 <varlistentry id="zdump">
667 <term><command>zdump</command></term>
668 <listitem>
669 <para>The time zone dumper</para>
670 <indexterm zone="ch-system-glibc zdump">
671 <primary sortas="b-zdump">zdump</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 <varlistentry id="zic">
677 <term><command>zic</command></term>
678 <listitem>
679 <para>The time zone compiler</para>
680 <indexterm zone="ch-system-glibc zic">
681 <primary sortas="b-zic">zic</primary>
682 </indexterm>
683 </listitem>
684 </varlistentry>
685
686 <varlistentry id="ld.so">
687 <term><filename class="libraryfile">ld.so</filename></term>
688 <listitem>
689 <para>The helper program for shared library executables</para>
690 <indexterm zone="ch-system-glibc ld.so">
691 <primary sortas="c-ld.so">ld.so</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 <varlistentry id="libBrokenLocale">
697 <term><filename class="libraryfile">libBrokenLocale</filename></term>
698 <listitem>
699 <para>Used internally by Glibc as a gross hack to get broken programs
700 (e.g., some Motif applications) running. See comments in
701 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
702 for more information</para>
703 <indexterm zone="ch-system-glibc libBrokenLocale">
704 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
705 </indexterm>
706 </listitem>
707 </varlistentry>
708
709 <varlistentry id="libSegFault">
710 <term><filename class="libraryfile">libSegFault</filename></term>
711 <listitem>
712 <para>The segmentation fault signal handler, used by
713 <command>catchsegv</command></para>
714 <indexterm zone="ch-system-glibc libSegFault">
715 <primary sortas="c-libSegFault">libSegFault</primary>
716 </indexterm>
717 </listitem>
718 </varlistentry>
719
720 <varlistentry id="libanl">
721 <term><filename class="libraryfile">libanl</filename></term>
722 <listitem>
723 <para>An asynchronous name lookup library</para>
724 <indexterm zone="ch-system-glibc libanl">
725 <primary sortas="c-libanl">libanl</primary>
726 </indexterm>
727 </listitem>
728 </varlistentry>
729
730 <varlistentry id="libc">
731 <term><filename class="libraryfile">libc</filename></term>
732 <listitem>
733 <para>The main C library</para>
734 <indexterm zone="ch-system-glibc libc">
735 <primary sortas="c-libc">libc</primary>
736 </indexterm>
737 </listitem>
738 </varlistentry>
739
740 <varlistentry id="libcidn">
741 <term><filename class="libraryfile">libcidn</filename></term>
742 <listitem>
743 <para>Used internally by Glibc for handling internationalized domain
744 names in the <function>getaddrinfo()</function> function</para>
745 <indexterm zone="ch-system-glibc libcidn">
746 <primary sortas="c-libcidn">libcidn</primary>
747 </indexterm>
748 </listitem>
749 </varlistentry>
750
751 <varlistentry id="libcrypt">
752 <term><filename class="libraryfile">libcrypt</filename></term>
753 <listitem>
754 <para>The cryptography library</para>
755 <indexterm zone="ch-system-glibc libcrypt">
756 <primary sortas="c-libcrypt">libcrypt</primary>
757 </indexterm>
758 </listitem>
759 </varlistentry>
760
761 <varlistentry id="libdl">
762 <term><filename class="libraryfile">libdl</filename></term>
763 <listitem>
764 <para>The dynamic linking interface library</para>
765 <indexterm zone="ch-system-glibc libdl">
766 <primary sortas="c-libdl">libdl</primary>
767 </indexterm>
768 </listitem>
769 </varlistentry>
770
771 <varlistentry id="libg">
772 <term><filename class="libraryfile">libg</filename></term>
773 <listitem>
774 <para>Dummy library containing no functions. Previously was a runtime
775 library for <command>g++</command></para>
776 <indexterm zone="ch-system-glibc libg">
777 <primary sortas="c-libg">libg</primary>
778 </indexterm>
779 </listitem>
780 </varlistentry>
781
782 <varlistentry id="libieee">
783 <term><filename class="libraryfile">libieee</filename></term>
784 <listitem>
785 <para>Linking in this module forces error handling rules for math
786 functions as defined by the Institute of Electrical and Electronic
787 Engineers (IEEE). The default is POSIX.1 error handling</para>
788 <indexterm zone="ch-system-glibc libieee">
789 <primary sortas="c-libieee">libieee</primary>
790 </indexterm>
791 </listitem>
792 </varlistentry>
793
794 <varlistentry id="libm">
795 <term><filename class="libraryfile">libm</filename></term>
796 <listitem>
797 <para>The mathematical library</para>
798 <indexterm zone="ch-system-glibc libm">
799 <primary sortas="c-libm">libm</primary>
800 </indexterm>
801 </listitem>
802 </varlistentry>
803
804 <varlistentry id="libmcheck">
805 <term><filename class="libraryfile">libmcheck</filename></term>
806 <listitem>
807 <para>Turns on memory allocation checking when linked to</para>
808 <indexterm zone="ch-system-glibc libmcheck">
809 <primary sortas="c-libmcheck">libmcheck</primary>
810 </indexterm>
811 </listitem>
812 </varlistentry>
813
814 <varlistentry id="libmemusage">
815 <term><filename class="libraryfile">libmemusage</filename></term>
816 <listitem>
817 <para>Used by <command>memusage</command> to help collect
818 information about the memory usage of a program</para>
819 <indexterm zone="ch-system-glibc libmemusage">
820 <primary sortas="c-libmemusage">libmemusage</primary>
821 </indexterm>
822 </listitem>
823 </varlistentry>
824
825 <varlistentry id="libnsl">
826 <term><filename class="libraryfile">libnsl</filename></term>
827 <listitem>
828 <para>The network services library</para>
829 <indexterm zone="ch-system-glibc libnsl">
830 <primary sortas="c-libnsl">libnsl</primary>
831 </indexterm>
832 </listitem>
833 </varlistentry>
834
835 <varlistentry id="libnss">
836 <term><filename class="libraryfile">libnss</filename></term>
837 <listitem>
838 <para>The Name Service Switch libraries, containing functions for
839 resolving host names, user names, group names, aliases, services,
840 protocols, etc.</para>
841 <indexterm zone="ch-system-glibc libnss">
842 <primary sortas="c-libnss">libnss</primary>
843 </indexterm>
844 </listitem>
845 </varlistentry>
846
847 <varlistentry id="libpcprofile">
848 <term><filename class="libraryfile">libpcprofile</filename></term>
849 <listitem>
850 <para>Contains profiling functions used to track the amount of CPU
851 time spent in specific source code lines</para>
852 <indexterm zone="ch-system-glibc libpcprofile">
853 <primary sortas="c-libpcprofile">libpcprofile</primary>
854 </indexterm>
855 </listitem>
856 </varlistentry>
857
858 <varlistentry id="libpthread">
859 <term><filename class="libraryfile">libpthread</filename></term>
860 <listitem>
861 <para>The POSIX threads library</para>
862 <indexterm zone="ch-system-glibc libpthread">
863 <primary sortas="c-libpthread">libpthread</primary>
864 </indexterm>
865 </listitem>
866 </varlistentry>
867
868 <varlistentry id="libresolv">
869 <term><filename class="libraryfile">libresolv</filename></term>
870 <listitem>
871 <para>Contains functions for creating, sending, and interpreting
872 packets to the Internet domain name servers</para>
873 <indexterm zone="ch-system-glibc libresolv">
874 <primary sortas="c-libresolv">libresolv</primary>
875 </indexterm>
876 </listitem>
877 </varlistentry>
878
879 <varlistentry id="librpcsvc">
880 <term><filename class="libraryfile">librpcsvc</filename></term>
881 <listitem>
882 <para>Contains functions providing miscellaneous RPC services</para>
883 <indexterm zone="ch-system-glibc librpcsvc">
884 <primary sortas="c-librpcsvc">librpcsvc</primary>
885 </indexterm>
886 </listitem>
887 </varlistentry>
888
889 <varlistentry id="librt">
890 <term><filename class="libraryfile">librt</filename></term>
891 <listitem>
892 <para>Contains functions providing most of the interfaces specified
893 by the POSIX.1b Realtime Extension</para>
894 <indexterm zone="ch-system-glibc librt">
895 <primary sortas="c-librt">librt</primary>
896 </indexterm>
897 </listitem>
898 </varlistentry>
899
900 <varlistentry id="libthread_db">
901 <term><filename class="libraryfile">libthread_db</filename></term>
902 <listitem>
903 <para>Contains functions useful for building debuggers for
904 multi-threaded programs</para>
905 <indexterm zone="ch-system-glibc libthread_db">
906 <primary sortas="c-libthread_db">libthread_db</primary>
907 </indexterm>
908 </listitem>
909 </varlistentry>
910
911 <varlistentry id="libutil">
912 <term><filename class="libraryfile">libutil</filename></term>
913 <listitem>
914 <para>Contains code for <quote>standard</quote> functions used in
915 many different Unix utilities</para>
916 <indexterm zone="ch-system-glibc libutil">
917 <primary sortas="c-libutil">libutil</primary>
918 </indexterm>
919 </listitem>
920 </varlistentry>
921
922 </variablelist>
923
924 </sect2>
925
926</sect1>
Note: See TracBrowser for help on using the repository browser.