source: chapter06/glibc.xml@ 0376c98

Last change on this file since 0376c98 was 0376c98, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Add a caution in the gmp section about possible Illegal Instruction errors if the host is misidentified or the libraries are copied to different systems. Merged from trunk r11044.

Remove obsolete note about iconv() in Chapter 6 Glibc. Merged from trunk r11043.

Add a note about UEFI and Secure Boot systems to the GRUB page. Merged from trunk r11043.

Add notes about paths for 64-bit systems in the Adjusting the Toolchain page. Merged from trunk r11043.

Update to linux-4.5. Merged from trunk r11042.

Update to grep-2.24. Merged from trunk r11042.

Update to expat-2.1.1. Merged from trunk r11042.

Update to tzdata2016c. Merged from trunk r11042.

Update to iproute2-4.5.0. Merged from trunk r11042.

Update to man-pages-4.05. Merged from trunk r11042.

Update to gzip-1.7. Merged from trunk r11042.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@11045 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 34.3 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
58 <note><para>The Glibc build system is self-contained and will install
59 perfectly, even though the compiler specs file and linker are still
60 pointing to <filename class="directory">/tools</filename>. The specs
61 and linker cannot be adjusted before the Glibc install because the
62 Glibc autoconf tests would give false results and defeat the goal
63 of achieving a clean build.</para></note>
64
65 <para>Some of the Glibc programs use non-FHS compilant
66 <filename class="directory">/var/db</filename> directory to store
67 their runtime data. Apply the following patch to make such programs
68 store their runtime data in the FHS-compliant locations:</para>
69
70<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
71 <para>The Glibc build system is self-contained and will install
72 perfectly, even though the compiler specs file and linker are still
73 pointing at <filename class="directory">/tools</filename>. The specs
74 and linker cannot be adjusted before the Glibc install because the
75 Glibc autoconf tests would give false results and defeat the goal
76 of achieving a clean build.</para>
77
78 <para>The Glibc documentation recommends building Glibc
79 in a dedicated build directory:</para>
80
81<screen><userinput remap="pre">mkdir -v build
82cd build</userinput></screen>
83
84 <para>Prepare Glibc for compilation:</para>
85
86<screen><userinput remap="configure">../configure --prefix=/usr \
87 --enable-kernel=&min-kernel; \
88 --enable-obsolete-rpc</userinput></screen>
89
90 <para>Compile the package:</para>
91
92<screen><userinput remap="make">make</userinput></screen>
93
94 <important>
95 <para>In this section, the test suite for Glibc is considered critical.
96 Do not skip it under any circumstance.</para>
97 </important>
98
99 <para>Generally a few tests do not pass, but you can generally ignore
100 any of the test failures listed below. Now test the build results:</para>
101
102<screen><userinput remap="test">make check</userinput></screen>
103
104 <para>You will probably see some test failures. The Glibc test suite is
105 somewhat dependent on the host system. This is a list of the most common
106 issues seen for this version of LFS:</para>
107
108 <itemizedlist>
109
110 <listitem>
111 <para><emphasis>posix/tst-getaddrinfo4</emphasis> and
112 <emphasis>posix/tst-getaddrinfo5</emphasis> will always fail due
113 to not having the necessary networking applications when the tests are
114 run.</para>
115 </listitem>
116
117 <listitem>
118 <para>The <emphasis>rt/tst-cputimer1</emphasis> and
119 <emphasis>rt/tst-cpuclock2</emphasis> tests have been known to
120 fail. The reason is not completely understood, but indications are
121 that minor timing issues can trigger these failures.</para>
122 </listitem>
123
124 <listitem>
125 <para>The math tests sometimes fail when running on
126 systems where the CPU is not a relatively new Intel or
127 AMD processor.</para>
128 </listitem>
129
130 <listitem>
131 <para>The
132 <emphasis>nptl/tst-thread-affinity-{pthread,pthread2,sched}</emphasis>
133 tests may fail for reasons that have not been determined. </para>
134 </listitem>
135
136 <listitem>
137 <para>Other tests known to fail on some architectures are
138 malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para>
139 </listitem>
140
141 </itemizedlist>
142
143 <para>Though it is a harmless message, the install stage of Glibc will
144 complain about the absence of <filename>/etc/ld.so.conf</filename>.
145 Prevent this warning with:</para>
146
147<screen><userinput remap="install">touch /etc/ld.so.conf</userinput></screen>
148
149 <para>Install the package:</para>
150
151<screen><userinput remap="install">make install</userinput></screen>
152
153 <para>Install the configuration file and runtime directory for
154 <command>nscd</command>:</para>
155
156<screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf
157mkdir -pv /var/cache/nscd</userinput></screen>
158
159 <para>Install the systemd support files for <command>nscd</command>:</para>
160
161<screen><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
162install -v -Dm644 ../nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>
163
164 <para>Next, install the locales that can make the system respond in a
165 different language. None of the locales are required,
166 but if some of them are missing, test suites of the future packages would
167 skip important testcases.</para>
168
169 <para>Individual locales can be installed using the
170 <command>localedef</command> program. E.g., the first
171 <command>localedef</command> command below combines the
172 <filename>/usr/share/i18n/locales/cs_CZ</filename>
173 charset-independent locale definition with the
174 <filename>/usr/share/i18n/charmaps/UTF-8.gz</filename>
175 charmap definition and appends the result to the
176 <filename>/usr/lib/locale/locale-archive</filename> file.
177 The following instructions will install the minimum set of
178 locales necessary for the optimal coverage of tests:</para>
179
180<screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale
181localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
182localedef -i de_DE -f ISO-8859-1 de_DE
183localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
184localedef -i de_DE -f UTF-8 de_DE.UTF-8
185localedef -i en_GB -f UTF-8 en_GB.UTF-8
186localedef -i en_HK -f ISO-8859-1 en_HK
187localedef -i en_PH -f ISO-8859-1 en_PH
188localedef -i en_US -f ISO-8859-1 en_US
189localedef -i en_US -f UTF-8 en_US.UTF-8
190localedef -i es_MX -f ISO-8859-1 es_MX
191localedef -i fa_IR -f UTF-8 fa_IR
192localedef -i fr_FR -f ISO-8859-1 fr_FR
193localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
194localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
195localedef -i it_IT -f ISO-8859-1 it_IT
196localedef -i it_IT -f UTF-8 it_IT.UTF-8
197localedef -i ja_JP -f EUC-JP ja_JP
198localedef -i ru_RU -f KOI8-R ru_RU.KOI8-R
199localedef -i ru_RU -f UTF-8 ru_RU.UTF-8
200localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
201localedef -i zh_CN -f GB18030 zh_CN.GB18030</userinput></screen>
202
203 <para>In addition, install the locale for your own country, language and
204 character set.</para>
205
206 <para>Alternatively, install all locales listed in the
207 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
208 (it includes every locale listed above and many more) at once with the
209 following time-consuming command:</para>
210
211<screen><userinput remap="locale-full">make localedata/install-locales</userinput></screen>
212
213 <para>Then use the <command>localedef</command> command to create and
214 install locales not listed in the
215 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
216 in the unlikely case you need them.</para>
217
218 </sect2>
219
220 <sect2 id="conf-glibc" role="configuration">
221 <title>Configuring Glibc</title>
222
223 <indexterm zone="conf-glibc">
224 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
225 </indexterm>
226
227 <indexterm zone="conf-glibc">
228 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
229 </indexterm>
230
231 <sect3>
232 <title>Adding nsswitch.conf</title>
233
234 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
235 because the Glibc defaults do not work well in a networked environment.
236 </para>
237
238 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
239 following:</para>
240
241<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
242<literal># Begin /etc/nsswitch.conf
243
244passwd: files
245group: files
246shadow: files
247
248hosts: files dns myhostname
249networks: files
250
251protocols: files
252services: files
253ethers: files
254rpc: files
255
256# End /etc/nsswitch.conf</literal>
257EOF</userinput></screen>
258
259 </sect3>
260
261 <sect3>
262 <title>Adding time zone data</title>
263
264 <para>Install and set up the time zone data with the following:</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 zone1970.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 time zones, 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 time zones 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 time zones, you could save
295 1.9MB by not using the <filename class="directory">posix</filename>
296 directory, but some applications or test-suites might produce some
297 failures.</para>
298 </listitem>
299 </varlistentry>
300 <varlistentry>
301 <term><parameter>zic -L leapseconds ...</parameter></term>
302 <listitem>
303 <para>This creates right time zones, including leap seconds. On an
304 embedded system, where space is tight and you do not intend to
305 ever update the time zones, 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 time zones 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>ln -sfv /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 </sect3>
343
344 <sect3 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 </sect3>
388 </sect2>
389
390 <sect2 id="contents-glibc" role="content">
391 <title>Contents of Glibc</title>
392
393 <segmentedlist>
394 <segtitle>Installed programs</segtitle>
395 <segtitle>Installed libraries</segtitle>
396 <segtitle>Installed directories</segtitle>
397
398 <seglistitem>
399 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
400 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
401 pldd, rpcgen, sln, sotruss, sprof, tzselect, xtrace,
402 zdump, and zic</seg>
403 <seg>ld-&glibc-version;.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
404 libc.{a,so}, libc_nonshared.a, libcidn.so,
405 libcrypt.{a,so}, libdl.{a,so}, libg.a, libieee.a, libm.{a,so},
406 libmcheck.a, libmemusage.so, libnsl.{a,so}, libnss_compat.so,
407 libnss_dns.so, libnss_files.so, libnss_hesiod.so, libnss_nis.so,
408 libnss_nisplus.so, libpthread.{a,so},
409 libpthread_nonshared.a, libresolv.{a,so}, librpcsvc.a, librt.{a,so},
410 libthread_db.so, and libutil.{a,so}</seg>
411 <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
412 /usr/include/net, /usr/include/netash, /usr/include/netatalk,
413 /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
414 /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
415 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
416 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
417 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
418 /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
419 /var/cache/nscd, and /var/lib/nss_db</seg>
420 </seglistitem>
421 </segmentedlist>
422
423 <variablelist>
424 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
425 <?dbfo list-presentation="list"?>
426 <?dbhtml list-presentation="table"?>
427
428 <varlistentry id="catchsegv">
429 <term><command>catchsegv</command></term>
430 <listitem>
431 <para>Can be used to create a stack trace when a program
432 terminates with a segmentation fault</para>
433 <indexterm zone="ch-system-glibc catchsegv">
434 <primary sortas="b-catchsegv">catchsegv</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 <varlistentry id="gencat">
440 <term><command>gencat</command></term>
441 <listitem>
442 <para>Generates message catalogues</para>
443 <indexterm zone="ch-system-glibc gencat">
444 <primary sortas="b-gencat">gencat</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
449 <varlistentry id="getconf">
450 <term><command>getconf</command></term>
451 <listitem>
452 <para>Displays the system configuration values for file system
453 specific variables</para>
454 <indexterm zone="ch-system-glibc getconf">
455 <primary sortas="b-getconf">getconf</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
460 <varlistentry id="getent">
461 <term><command>getent</command></term>
462 <listitem>
463 <para>Gets entries from an administrative database</para>
464 <indexterm zone="ch-system-glibc getent">
465 <primary sortas="b-getent">getent</primary>
466 </indexterm>
467 </listitem>
468 </varlistentry>
469
470 <varlistentry id="iconv">
471 <term><command>iconv</command></term>
472 <listitem>
473 <para>Performs character set conversion</para>
474 <indexterm zone="ch-system-glibc iconv">
475 <primary sortas="b-iconv">iconv</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="iconvconfig">
481 <term><command>iconvconfig</command></term>
482 <listitem>
483 <para>Creates fastloading <command>iconv</command> module configuration
484 files</para>
485 <indexterm zone="ch-system-glibc iconvconfig">
486 <primary sortas="b-iconvconfig">iconvconfig</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490
491 <varlistentry id="ldconfig">
492 <term><command>ldconfig</command></term>
493 <listitem>
494 <para>Configures the dynamic linker runtime bindings</para>
495 <indexterm zone="ch-system-glibc ldconfig">
496 <primary sortas="b-ldconfig">ldconfig</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500
501 <varlistentry id="ldd">
502 <term><command>ldd</command></term>
503 <listitem>
504 <para>Reports which shared libraries are required
505 by each given program or shared library</para>
506 <indexterm zone="ch-system-glibc ldd">
507 <primary sortas="b-ldd">ldd</primary>
508 </indexterm>
509 </listitem>
510 </varlistentry>
511
512 <varlistentry id="lddlibc4">
513 <term><command>lddlibc4</command></term>
514 <listitem>
515 <para>Assists <command>ldd</command> with object files</para>
516 <indexterm zone="ch-system-glibc lddlibc4">
517 <primary sortas="b-lddlibc4">lddlibc4</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
522 <varlistentry id="locale">
523 <term><command>locale</command></term>
524 <listitem>
525 <para>Prints various information about the current locale</para>
526 <indexterm zone="ch-system-glibc locale">
527 <primary sortas="b-locale">locale</primary>
528 </indexterm>
529 </listitem>
530 </varlistentry>
531
532 <varlistentry id="localedef">
533 <term><command>localedef</command></term>
534 <listitem>
535 <para>Compiles locale specifications</para>
536 <indexterm zone="ch-system-glibc localedef">
537 <primary sortas="b-localedef">localedef</primary>
538 </indexterm>
539 </listitem>
540 </varlistentry>
541
542 <varlistentry id="makedb">
543 <term><command>makedb</command></term>
544 <listitem>
545 <para>Creates a simple database from textual input</para>
546 <indexterm zone="ch-system-glibc makedb">
547 <primary sortas="b-makedb">makedb</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="mtrace">
553 <term><command>mtrace</command></term>
554 <listitem>
555 <para>Reads and interprets a memory trace file and displays a summary
556 in human-readable format</para>
557 <indexterm zone="ch-system-glibc mtrace">
558 <primary sortas="b-mtrace">mtrace</primary>
559 </indexterm>
560 </listitem>
561 </varlistentry>
562
563 <varlistentry id="nscd">
564 <term><command>nscd</command></term>
565 <listitem>
566 <para>A daemon that provides a cache for the most common name
567 service requests</para>
568 <indexterm zone="ch-system-glibc nscd">
569 <primary sortas="b-nscd">nscd</primary>
570 </indexterm>
571 </listitem>
572 </varlistentry>
573
574<!--
575 <varlistentry id="pcprofiledump">
576 <term><command>pcprofiledump</command></term>
577 <listitem>
578 <para>Dumps information generated by PC profiling</para>
579 <indexterm zone="ch-system-glibc pcprofiledump">
580 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
581 </indexterm>
582 </listitem>
583 </varlistentry>
584-->
585
586 <varlistentry id="pldd">
587 <term><command>pldd</command></term>
588 <listitem>
589 <para>Lists dynamic shared objects used by running processes</para>
590 <indexterm zone="ch-system-glibc pldd">
591 <primary sortas="b-pldd">pldd</primary>
592 </indexterm>
593 </listitem>
594 </varlistentry>
595<!--
596 <varlistentry id="pt_chown">
597 <term><command>pt_chown</command></term>
598 <listitem>
599 <para>A helper program for <command>grantpt</command> to set the owner,
600 group and access permissions of a slave pseudo terminal</para>
601 <indexterm zone="ch-system-glibc pt_chown">
602 <primary sortas="b-pt_chown">pt_chown</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606-->
607 <varlistentry id="rpcgen">
608 <term><command>rpcgen</command></term>
609 <listitem>
610 <para>Generates C code to implement the Remote Procedure Call (RPC)
611 protocol</para>
612 <indexterm zone="ch-system-glibc rpcgen">
613 <primary sortas="b-rpcgen">rpcgen</primary>
614 </indexterm>
615 </listitem>
616 </varlistentry>
617
618 <varlistentry id="sln">
619 <term><command>sln</command></term>
620 <listitem>
621 <para>A statically linked <command>ln</command> program</para>
622 <indexterm zone="ch-system-glibc sln">
623 <primary sortas="b-sln">sln</primary>
624 </indexterm>
625 </listitem>
626 </varlistentry>
627
628 <varlistentry id="sotruss">
629 <term><command>sotruss</command></term>
630 <listitem>
631 <para>Traces shared library procedure calls of a specified command</para>
632 <indexterm zone="ch-system-glibc sotruss">
633 <primary sortas="b-sotruss">sotruss</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 <varlistentry id="sprof">
639 <term><command>sprof</command></term>
640 <listitem>
641 <para>Reads and displays shared object profiling data</para>
642 <indexterm zone="ch-system-glibc sprof">
643 <primary sortas="b-sprof">sprof</primary>
644 </indexterm>
645 </listitem>
646 </varlistentry>
647
648 <varlistentry id="tzselect">
649 <term><command>tzselect</command></term>
650 <listitem>
651 <para>Asks the user about the location of the system and reports
652 the corresponding time zone description</para>
653 <indexterm zone="ch-system-glibc tzselect">
654 <primary sortas="b-tzselect">tzselect</primary>
655 </indexterm>
656 </listitem>
657 </varlistentry>
658
659 <varlistentry id="xtrace">
660 <term><command>xtrace</command></term>
661 <listitem>
662 <para>Traces the execution of a program by printing the currently
663 executed function</para>
664 <indexterm zone="ch-system-glibc xtrace">
665 <primary sortas="b-xtrace">xtrace</primary>
666 </indexterm>
667 </listitem>
668 </varlistentry>
669
670 <varlistentry id="zdump">
671 <term><command>zdump</command></term>
672 <listitem>
673 <para>The time zone dumper</para>
674 <indexterm zone="ch-system-glibc zdump">
675 <primary sortas="b-zdump">zdump</primary>
676 </indexterm>
677 </listitem>
678 </varlistentry>
679
680 <varlistentry id="zic">
681 <term><command>zic</command></term>
682 <listitem>
683 <para>The time zone compiler</para>
684 <indexterm zone="ch-system-glibc zic">
685 <primary sortas="b-zic">zic</primary>
686 </indexterm>
687 </listitem>
688 </varlistentry>
689
690 <varlistentry id="ld.so">
691 <term><filename class="libraryfile">ld-&glibc-version;.so</filename></term>
692 <listitem>
693 <para>The helper program for shared library executables</para>
694 <indexterm zone="ch-system-glibc ld.so">
695 <primary sortas="c-ld.so">ld-&glibc-version;.so</primary>
696 </indexterm>
697 </listitem>
698 </varlistentry>
699
700 <varlistentry id="libBrokenLocale">
701 <term><filename class="libraryfile">libBrokenLocale</filename></term>
702 <listitem>
703 <para>Used internally by Glibc as a gross hack to get broken programs
704 (e.g., some Motif applications) running. See comments in
705 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
706 for more information</para>
707 <indexterm zone="ch-system-glibc libBrokenLocale">
708 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
709 </indexterm>
710 </listitem>
711 </varlistentry>
712
713 <varlistentry id="libSegFault">
714 <term><filename class="libraryfile">libSegFault</filename></term>
715 <listitem>
716 <para>The segmentation fault signal handler, used by
717 <command>catchsegv</command></para>
718 <indexterm zone="ch-system-glibc libSegFault">
719 <primary sortas="c-libSegFault">libSegFault</primary>
720 </indexterm>
721 </listitem>
722 </varlistentry>
723
724 <varlistentry id="libanl">
725 <term><filename class="libraryfile">libanl</filename></term>
726 <listitem>
727 <para>An asynchronous name lookup library</para>
728 <indexterm zone="ch-system-glibc libanl">
729 <primary sortas="c-libanl">libanl</primary>
730 </indexterm>
731 </listitem>
732 </varlistentry>
733
734 <varlistentry id="libc">
735 <term><filename class="libraryfile">libc</filename></term>
736 <listitem>
737 <para>The main C library</para>
738 <indexterm zone="ch-system-glibc libc">
739 <primary sortas="c-libc">libc</primary>
740 </indexterm>
741 </listitem>
742 </varlistentry>
743
744 <varlistentry id="libcidn">
745 <term><filename class="libraryfile">libcidn</filename></term>
746 <listitem>
747 <para>Used internally by Glibc for handling internationalized domain
748 names in the <function>getaddrinfo()</function> function</para>
749 <indexterm zone="ch-system-glibc libcidn">
750 <primary sortas="c-libcidn">libcidn</primary>
751 </indexterm>
752 </listitem>
753 </varlistentry>
754
755 <varlistentry id="libcrypt">
756 <term><filename class="libraryfile">libcrypt</filename></term>
757 <listitem>
758 <para>The cryptography library</para>
759 <indexterm zone="ch-system-glibc libcrypt">
760 <primary sortas="c-libcrypt">libcrypt</primary>
761 </indexterm>
762 </listitem>
763 </varlistentry>
764
765 <varlistentry id="libdl">
766 <term><filename class="libraryfile">libdl</filename></term>
767 <listitem>
768 <para>The dynamic linking interface library</para>
769 <indexterm zone="ch-system-glibc libdl">
770 <primary sortas="c-libdl">libdl</primary>
771 </indexterm>
772 </listitem>
773 </varlistentry>
774
775 <varlistentry id="libg">
776 <term><filename class="libraryfile">libg</filename></term>
777 <listitem>
778 <para>Dummy library containing no functions. Previously was a runtime
779 library for <command>g++</command></para>
780 <indexterm zone="ch-system-glibc libg">
781 <primary sortas="c-libg">libg</primary>
782 </indexterm>
783 </listitem>
784 </varlistentry>
785
786 <varlistentry id="libieee">
787 <term><filename class="libraryfile">libieee</filename></term>
788 <listitem>
789 <para>Linking in this module forces error handling rules for math
790 functions as defined by the Institute of Electrical and Electronic
791 Engineers (IEEE). The default is POSIX.1 error handling</para>
792 <indexterm zone="ch-system-glibc libieee">
793 <primary sortas="c-libieee">libieee</primary>
794 </indexterm>
795 </listitem>
796 </varlistentry>
797
798 <varlistentry id="libm">
799 <term><filename class="libraryfile">libm</filename></term>
800 <listitem>
801 <para>The mathematical library</para>
802 <indexterm zone="ch-system-glibc libm">
803 <primary sortas="c-libm">libm</primary>
804 </indexterm>
805 </listitem>
806 </varlistentry>
807
808 <varlistentry id="libmcheck">
809 <term><filename class="libraryfile">libmcheck</filename></term>
810 <listitem>
811 <para>Turns on memory allocation checking when linked to</para>
812 <indexterm zone="ch-system-glibc libmcheck">
813 <primary sortas="c-libmcheck">libmcheck</primary>
814 </indexterm>
815 </listitem>
816 </varlistentry>
817
818 <varlistentry id="libmemusage">
819 <term><filename class="libraryfile">libmemusage</filename></term>
820 <listitem>
821 <para>Used by <command>memusage</command> to help collect
822 information about the memory usage of a program</para>
823 <indexterm zone="ch-system-glibc libmemusage">
824 <primary sortas="c-libmemusage">libmemusage</primary>
825 </indexterm>
826 </listitem>
827 </varlistentry>
828
829 <varlistentry id="libnsl">
830 <term><filename class="libraryfile">libnsl</filename></term>
831 <listitem>
832 <para>The network services library</para>
833 <indexterm zone="ch-system-glibc libnsl">
834 <primary sortas="c-libnsl">libnsl</primary>
835 </indexterm>
836 </listitem>
837 </varlistentry>
838
839 <varlistentry id="libnss">
840 <term><filename class="libraryfile">libnss</filename></term>
841 <listitem>
842 <para>The Name Service Switch libraries, containing functions for
843 resolving host names, user names, group names, aliases, services,
844 protocols, etc.</para>
845 <indexterm zone="ch-system-glibc libnss">
846 <primary sortas="c-libnss">libnss</primary>
847 </indexterm>
848 </listitem>
849 </varlistentry>
850
851<!--
852 <varlistentry id="libpcprofile">
853 <term><filename class="libraryfile">libpcprofile</filename></term>
854 <listitem>
855 <para>Contains profiling functions used to track the amount of CPU
856 time spent in specific source code lines</para>
857 <indexterm zone="ch-system-glibc libpcprofile">
858 <primary sortas="c-libpcprofile">libpcprofile</primary>
859 </indexterm>
860 </listitem>
861 </varlistentry>
862-->
863
864 <varlistentry id="libpthread">
865 <term><filename class="libraryfile">libpthread</filename></term>
866 <listitem>
867 <para>The POSIX threads library</para>
868 <indexterm zone="ch-system-glibc libpthread">
869 <primary sortas="c-libpthread">libpthread</primary>
870 </indexterm>
871 </listitem>
872 </varlistentry>
873
874 <varlistentry id="libresolv">
875 <term><filename class="libraryfile">libresolv</filename></term>
876 <listitem>
877 <para>Contains functions for creating, sending, and interpreting
878 packets to the Internet domain name servers</para>
879 <indexterm zone="ch-system-glibc libresolv">
880 <primary sortas="c-libresolv">libresolv</primary>
881 </indexterm>
882 </listitem>
883 </varlistentry>
884
885 <varlistentry id="librpcsvc">
886 <term><filename class="libraryfile">librpcsvc</filename></term>
887 <listitem>
888 <para>Contains functions providing miscellaneous RPC services</para>
889 <indexterm zone="ch-system-glibc librpcsvc">
890 <primary sortas="c-librpcsvc">librpcsvc</primary>
891 </indexterm>
892 </listitem>
893 </varlistentry>
894
895 <varlistentry id="librt">
896 <term><filename class="libraryfile">librt</filename></term>
897 <listitem>
898 <para>Contains functions providing most of the interfaces specified
899 by the POSIX.1b Realtime Extension</para>
900 <indexterm zone="ch-system-glibc librt">
901 <primary sortas="c-librt">librt</primary>
902 </indexterm>
903 </listitem>
904 </varlistentry>
905
906 <varlistentry id="libthread_db">
907 <term><filename class="libraryfile">libthread_db</filename></term>
908 <listitem>
909 <para>Contains functions useful for building debuggers for
910 multi-threaded programs</para>
911 <indexterm zone="ch-system-glibc libthread_db">
912 <primary sortas="c-libthread_db">libthread_db</primary>
913 </indexterm>
914 </listitem>
915 </varlistentry>
916
917 <varlistentry id="libutil">
918 <term><filename class="libraryfile">libutil</filename></term>
919 <listitem>
920 <para>Contains code for <quote>standard</quote> functions used in
921 many different Unix utilities</para>
922 <indexterm zone="ch-system-glibc libutil">
923 <primary sortas="c-libutil">libutil</primary>
924 </indexterm>
925 </listitem>
926 </varlistentry>
927
928 </variablelist>
929
930 </sect2>
931
932</sect1>
Note: See TracBrowser for help on using the repository browser.