source: chapter06/glibc.xml@ 11e9988

6.0
Last change on this file since 11e9988 was 2256873, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Last edit round.

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

  • Property mode set to 100644
File size: 25.1 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[752f4e5]6<sect1 id="ch-system-glibc" role="wrap">
[673b0d8]7<title>Glibc-&glibc-version;</title>
8<?dbhtml filename="glibc.html"?>
9
10<indexterm zone="ch-system-glibc"><primary sortas="a-Glibc">Glibc</primary></indexterm>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[69993f4]13<para>The Glibc package contains the main C library. This library provides
[5888299]14the basic routines for allocating memory, searching directories, opening and
[69993f4]15closing files, reading and writing files, string handling, pattern matching,
[5888299]16arithmetic, and so on.</para>
17
[a001133]18<segmentedlist>
19<segtitle>&buildtime;</segtitle>
20<segtitle>&diskspace;</segtitle>
21<seglistitem><seg>12.3 SBU</seg><seg>784 MB</seg></seglistitem>
22</segmentedlist>
[673b0d8]23
[a001133]24<segmentedlist>
25<segtitle>Glibc installation depends on</segtitle>
26<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
[69993f4]27Gawk, GCC, Gettext, Grep, Make, Perl, Sed, and Texinfo</seg></seglistitem>
[a001133]28</segmentedlist>
29</sect2>
[3554fa3a]30
[a001133]31<sect2 role="installation">
[5888299]32<title>Installation of Glibc</title>
[73aedd1d]33
[24a08b9]34<para>This package is known to have issues when its default
35optimization flags (including the <parameter>-march</parameter> and
36<parameter>-mcpu</parameter> options) are changed. If any environment
37variables that override default optimizations have been defined, such
[752f4e5]38as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
[76c5c80]39unset them when building Glibc.</para>
[24a08b9]40
[ef13657]41<para>The Glibc build system is self-contained and will install
42perfectly, even though the compiler specs file and linker are still
43pointing at <filename class="directory">/tools</filename>. The specs
44and linker cannot be adjusted before the Glibc install because the
[69993f4]45Glibc autoconf tests would give false results and defeat the goal
[ef13657]46of achieving a clean build.</para>
[73aedd1d]47
48<para>The Glibc documentation recommends building Glibc outside of the source
49directory in a dedicated build directory:</para>
50
51<screen><userinput>mkdir ../glibc-build
52cd ../glibc-build</userinput></screen>
53
[69993f4]54<para>Prepare Glibc for compilation:</para>
[73aedd1d]55
[9dfc02f]56<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
57 --disable-profile --enable-add-ons=nptl --with-tls \
[4fdb55e]58 --with-__thread --enable-kernel=2.6.0 --without-cvs \
[ef13657]59 --libexecdir=/usr/lib/glibc \
[9dfc02f]60 --with-headers=/tools/glibc-kernheaders</userinput></screen>
[73aedd1d]61
[38bb44a]62<beginpage/>
[ef13657]63<para>The meaning of the new configure option:</para>
64
65<variablelist>
66<varlistentry>
67<term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
68<listitem><para>This changes the location of the
69<command>pt_chown</command> program from its default of <filename
70class="directory">/usr/libexec</filename> to <filename
71class="directory">/usr/lib/glibc</filename>.</para></listitem>
72</varlistentry>
73</variablelist>
74
[73aedd1d]75<para>Compile the package:</para>
76
77<screen><userinput>make</userinput></screen>
78
[ef13657]79<important><para>In this section, the test suite for Glibc is
80considered critical. Do not skip it under any
[90afe40d]81circumstance.</para></important>
82
[73aedd1d]83<para>Test the results:</para>
84
85<screen><userinput>make check</userinput></screen>
86
[ef13657]87<para>The Glibc test suite is highly dependent on certain functions of
88the host system, in particular the kernel. In general, the Glibc test
89suite is always expected to pass. However, in certain circumstances,
90some failures are unavoidable. This is a list of the most common
91issues:</para>
[d878ce3]92
93<itemizedlist>
94<listitem><para>The <emphasis>math</emphasis> tests sometimes fail when running
95on systems where the CPU is not a relatively new genuine Intel or authentic AMD.
96Certain optimization settings are also known to be a factor here.</para></listitem>
97
98<listitem><para>The <emphasis>gettext</emphasis> test sometimes fails due to
99host system issues. The exact reasons are not yet clear.</para></listitem>
100
[ef13657]101<listitem><para>The <emphasis>atime</emphasis> test sometimes fails
102when the LFS partition is mounted with the
[69993f4]103<parameter>noatime</parameter> option.</para></listitem>
[ef13657]104
105<listitem><para>The <emphasis>shm</emphasis> test can fail when the
106host system is using the <systemitem
107class="filesystem">devfs</systemitem> file system but does not have
108the <systemitem class="filesystem">tmpfs</systemitem> file system
109mounted at <filename class="directory">/dev/shm</filename>. This
[752f4e5]110occurs because of a lack of support for <systemitem
111class="filesystem">tmpfs</systemitem> in the
[ef13657]112kernel.</para></listitem>
113
114<listitem><para>When running on older and slower hardware, some tests
115can fail because of test timeouts being exceeded.</para></listitem>
[d878ce3]116</itemizedlist>
[73aedd1d]117
[1caa48e]118<para>Though it is a harmless message, the install stage of Glibc will
[ef13657]119complain about the absence of <filename>/etc/ld.so.conf</filename>.
120Prevent this warning with:</para>
[1caa48e]121
122<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
123
[ef13657]124<para>Install the package:</para>
[73aedd1d]125
126<screen><userinput>make install</userinput></screen>
127
[ef13657]128<para>The locales that can make the system respond in a different
129language were not installed by the above command. Install this
130with:</para>
[73aedd1d]131
132<screen><userinput>make localedata/install-locales</userinput></screen>
133
[69993f4]134<para>To save time, an alternative to running the
[ef13657]135previous command (which generates and installs every locale Glibc is
136aware of) is to install only those locales that are wanted and needed.
137This can be achieved by using the <command>localedef</command>
138command. Information on this command is located in the
139<filename>INSTALL</filename> file in the Glibc source. However, there
140are a number of locales that are essential in order for the tests of
141future packages to pass, in particular, the
142<emphasis>libstdc++</emphasis> tests from GCC. The following
[752f4e5]143instructions, instead of the <parameter>install-locales</parameter>
[ef13657]144target used above, will install the minimum set of locales necessary
145for the tests to run successfully:</para>
[73aedd1d]146
147<screen><userinput>mkdir -p /usr/lib/locale
148localedef -i de_DE -f ISO-8859-1 de_DE
149localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
150localedef -i en_HK -f ISO-8859-1 en_HK
151localedef -i en_PH -f ISO-8859-1 en_PH
152localedef -i en_US -f ISO-8859-1 en_US
153localedef -i es_MX -f ISO-8859-1 es_MX
[673b0d8]154localedef -i fa_IR -f UTF-8 fa_IR
[73aedd1d]155localedef -i fr_FR -f ISO-8859-1 fr_FR
156localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
157localedef -i it_IT -f ISO-8859-1 it_IT
158localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
159
[ef13657]160<para>Some locales installed by the <command>make
161localedata/install-locales</command> command above are not properly
162supported by some applications that are in the LFS and BLFS books.
163Because of the various problems that arise due to application
164programmers making assumptions that break in such locales, LFS should
165not be used in locales that utilize multibyte character sets
166(including UTF-8) or right-to-left writing order. Numerous unofficial
167and unstable patches are required to fix these problems, and it has
[69993f4]168been decided by the LFS developers not to support such complex locales. This applies to the
169ja_JP and fa_IR locales as well&mdash;they have been installed only for
170GCC and Gettext tests to pass, and the <command>watch</command> program
[ef13657]171(part of the Procps package) does not work properly in them. Various
172attempts to circumvent these restrictions are documented in
173internationalization-related hints.</para>
174
175<para>Build the linuxthreads man pages, which are a great reference
[9dfc02f]176on the threading API (applicable to NPTL as well):</para>
[73aedd1d]177
[9dfc02f]178<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
[73aedd1d]179
[ef13657]180<para>Install these pages:</para>
[73aedd1d]181
[9dfc02f]182<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen>
[73aedd1d]183
184</sect2>
[5888299]185
[8c16bf7]186<sect2 id="conf-glibc" role="configuration"><title>Configuring Glibc</title>
[673b0d8]187<indexterm zone="conf-glibc"><primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary></indexterm>
188<indexterm zone="conf-glibc"><primary sortas="e-/etc/localtime">/etc/localtime</primary></indexterm>
[342b176]189
[ef13657]190<para>The <filename>/etc/nsswitch.conf</filename> file needs to be
191created because, although Glibc provides defaults when this file is
192missing or corrupt, the Glibc defaults do not work well with
193networking. The time zone also needs to be set up.</para>
[342b176]194
195<para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
196following:</para>
197
[bb55064]198<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
[3890f5a]199<literal># Begin /etc/nsswitch.conf
[342b176]200
201passwd: files
202group: files
203shadow: files
204
205hosts: files dns
206networks: files
207
[4a80bec]208protocols: files
209services: files
210ethers: files
211rpc: files
[342b176]212
[3890f5a]213# End /etc/nsswitch.conf</literal>
[bb55064]214EOF</userinput></screen>
[342b176]215
[69993f4]216<para>To determine the local time zone, run the following script:</para>
[342b176]217
218<screen><userinput>tzselect</userinput></screen>
219
[ef13657]220<para>After answering a few questions about the location, the script
221will output the name of the time zone (e.g.,
222<emphasis>EST5EDT</emphasis> or <emphasis>Canada/Eastern</emphasis>).
223Then create the <filename>/etc/localtime</filename> file by
224running:</para>
[342b176]225
[00cc7ce]226<screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
227 /etc/localtime</userinput></screen>
[342b176]228
[76c5c80]229<para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone that the
[ef13657]230<command>tzselect</command> provided (e.g., Canada/Eastern).</para>
231
232<para>The meaning of the cp option:</para>
[342b176]233
[b8a819f]234<variablelist>
235<varlistentry>
[bb55064]236<term><parameter>--remove-destination</parameter></term>
[ef13657]237<listitem><para>This is needed to force removal of the already
238existing symbolic link. The reason for copying the file instead of
239using a symlink is to cover the situation where <filename
240class="directory">/usr</filename> is on a separate partition. This
241could be important when booted into single user
242mode.</para></listitem>
[b8a819f]243</varlistentry>
244</variablelist>
[342b176]245
246</sect2>
247
248
[8c16bf7]249<sect2 id="conf-ld" role="configuration">
[342b176]250<title>Configuring Dynamic Loader</title>
[673b0d8]251<indexterm zone="conf-ld"><primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary></indexterm>
[342b176]252
[ef13657]253<para>By default, the dynamic loader (<filename
254class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
255<filename class="directory">/lib</filename> and <filename
256class="directory">/usr/lib</filename> for dynamic libraries that are
257needed by programs as they are run. However, if there are libraries in
[342b176]258directories other than <filename class="directory">/lib</filename> and
[ef13657]259<filename class="directory">/usr/lib</filename>, these need to be
[69993f4]260added to the <filename>/etc/ld.so.conf</filename> file in order
[ef13657]261for the dynamic loader to find them. Two directories that are commonly
262known to contain additional libraries are <filename
263class="directory">/usr/local/lib</filename> and <filename
264class="directory">/opt/lib</filename>, so add those directories to the
[342b176]265dynamic loader's search path.</para>
266
267<para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
268following:</para>
269
[bb55064]270<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[3890f5a]271<literal># Begin /etc/ld.so.conf
[342b176]272
273/usr/local/lib
274/opt/lib
275
[3890f5a]276# End /etc/ld.so.conf</literal>
[bb55064]277EOF</userinput></screen>
[342b176]278
[0e9a9e2]279<beginpage/>
[342b176]280</sect2>
[5888299]281
[c6cb3aa]282<sect2 id="contents-glibc" role="content"><title>Contents of Glibc</title>
[673b0d8]283
[c6cb3aa]284<segmentedlist>
285<segtitle>Installed programs</segtitle>
286<segtitle>Installed libraries</segtitle>
287<seglistitem><seg>catchsegv, gencat, getconf,
[5094150b]288getent, iconv, iconvconfig, ldconfig, ldd, lddlibc4, locale,
[673b0d8]289localedef, mtrace, nscd, nscd_nischeck, pcprofiledump, pt_chown, rpcgen,
[69993f4]290rpcinfo, sln, sprof, tzselect, xtrace, zdump, and zic</seg>
[c6cb3aa]291<seg>ld.so, libBrokenLocale.[a,so],
[dadb405]292libSegFault.so, libanl.[a,so], libbsd-compat.a, libc.[a,so],
[673b0d8]293libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so], libmcheck.a,
294libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so, libnss_files.so,
295libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so, libpcprofile.so,
[69993f4]296libpthread.[a,so], libresolv.[a,so], librpcsvc.a, librt.[a,so],
297libthread_db.so, and libutil.[a,so]</seg></seglistitem>
[c6cb3aa]298</segmentedlist>
[673b0d8]299
[2256873]300<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
[3ed279f]301<?dbfo list-presentation="list"?>
[673b0d8]302
[b8a819f]303<varlistentry id="catchsegv">
304<term><command>catchsegv</command></term>
[c6cb3aa]305<listitem>
[2256873]306<para>Can be used to create a stack trace when a program
307terminates with a segmentation fault</para>
[3ed279f]308<indexterm zone="ch-system-glibc catchsegv"><primary sortas="b-catchsegv">catchsegv</primary></indexterm>
[c6cb3aa]309</listitem>
310</varlistentry>
[673b0d8]311
[b8a819f]312<varlistentry id="gencat">
313<term><command>gencat</command></term>
[c6cb3aa]314<listitem>
[2256873]315<para>Generates message catalogues</para>
[3ed279f]316<indexterm zone="ch-system-glibc gencat"><primary sortas="b-gencat">gencat</primary></indexterm>
[c6cb3aa]317</listitem>
318</varlistentry>
[673b0d8]319
[b8a819f]320<varlistentry id="getconf">
321<term><command>getconf</command></term>
[c6cb3aa]322<listitem>
[2256873]323<para>Displays the system configuration values for file system specific variables</para>
[3ed279f]324<indexterm zone="ch-system-glibc getconf"><primary sortas="b-getconf">getconf</primary></indexterm>
[c6cb3aa]325</listitem>
326</varlistentry>
[673b0d8]327
[b8a819f]328<varlistentry id="getent">
329<term><command>getent</command></term>
[c6cb3aa]330<listitem>
[2256873]331<para>Gets entries from an administrative database</para>
[3ed279f]332<indexterm zone="ch-system-glibc getent"><primary sortas="b-getent">getent</primary></indexterm>
[c6cb3aa]333</listitem>
334</varlistentry>
[673b0d8]335
[b8a819f]336<varlistentry id="iconv">
337<term><command>iconv</command></term>
[c6cb3aa]338<listitem>
[2256873]339<para>Performs character set conversion</para>
[3ed279f]340<indexterm zone="ch-system-glibc iconv"><primary sortas="b-iconv">iconv</primary></indexterm>
[c6cb3aa]341</listitem>
342</varlistentry>
[673b0d8]343
[b8a819f]344<varlistentry id="iconvconfig">
345<term><command>iconvconfig</command></term>
[c6cb3aa]346<listitem>
[2256873]347<para>Creates fastloading <command>iconv</command> module configuration files</para>
[3ed279f]348<indexterm zone="ch-system-glibc iconvconfig"><primary sortas="b-iconvconfig">iconvconfig</primary></indexterm>
[c6cb3aa]349</listitem>
350</varlistentry>
[673b0d8]351
[b8a819f]352<varlistentry id="ldconfig">
353<term><command>ldconfig</command></term>
[c6cb3aa]354<listitem>
[2256873]355<para>Configures the dynamic linker runtime bindings</para>
[3ed279f]356<indexterm zone="ch-system-glibc ldconfig"><primary sortas="b-ldconfig">ldconfig</primary></indexterm>
[c6cb3aa]357</listitem>
358</varlistentry>
[673b0d8]359
[b8a819f]360<varlistentry id="ldd">
361<term><command>ldd</command></term>
[c6cb3aa]362<listitem>
[2256873]363<para>Reports which shared libraries are required
364by each given program or shared library</para>
[3ed279f]365<indexterm zone="ch-system-glibc ldd"><primary sortas="b-ldd">ldd</primary></indexterm>
[c6cb3aa]366</listitem>
367</varlistentry>
[673b0d8]368
[b8a819f]369<varlistentry id="lddlibc4">
370<term><command>lddlibc4</command></term>
[c6cb3aa]371<listitem>
[2256873]372<para>Assists <command>ldd</command> with object files</para>
[3ed279f]373<indexterm zone="ch-system-glibc lddlibc4"><primary sortas="b-lddlibc4">lddlibc4</primary></indexterm>
[c6cb3aa]374</listitem>
375</varlistentry>
[673b0d8]376
[b8a819f]377<varlistentry id="locale">
378<term><command>locale</command></term>
[c6cb3aa]379<listitem>
[2256873]380<para>Tells the compiler to enable or disable the use of POSIX locales
381for built-in operations</para>
[3ed279f]382<indexterm zone="ch-system-glibc locale"><primary sortas="b-locale">locale</primary></indexterm>
[c6cb3aa]383</listitem>
384</varlistentry>
[673b0d8]385
[b8a819f]386<varlistentry id="localedef">
387<term><command>localedef</command></term>
[c6cb3aa]388<listitem>
[2256873]389<para>Compiles locale specifications</para>
[3ed279f]390<indexterm zone="ch-system-glibc localedef"><primary sortas="b-localedef">localedef</primary></indexterm>
[c6cb3aa]391</listitem>
392</varlistentry>
[673b0d8]393
[b8a819f]394<varlistentry id="mtrace">
395<term><command>mtrace</command></term>
[c6cb3aa]396<listitem>
[2256873]397<para>Reads and interprets a memory trace file and
398ouputs a summary in human-readable format</para>
[3ed279f]399<indexterm zone="ch-system-glibc mtrace"><primary sortas="b-mtrace">mtrace</primary></indexterm>
[c6cb3aa]400</listitem>
401</varlistentry>
[673b0d8]402
[b8a819f]403<varlistentry id="nscd">
404<term><command>nscd</command></term>
[c6cb3aa]405<listitem>
[2256873]406<para>A daemon that provides a cache for the most common name
407service requests</para>
[3ed279f]408<indexterm zone="ch-system-glibc nscd"><primary sortas="b-nscd">nscd</primary></indexterm>
[c6cb3aa]409</listitem>
410</varlistentry>
[673b0d8]411
[b8a819f]412<varlistentry id="nscd_nischeck">
413<term><command>nscd_nischeck</command></term>
[c6cb3aa]414<listitem>
[2256873]415<para>Checks whether or not secure mode is necessary for NIS+ lookup</para>
[3ed279f]416<indexterm zone="ch-system-glibc nscd_nischeck"><primary sortas="b-nscd_nischeck">nscd_nischeck</primary></indexterm>
[c6cb3aa]417</listitem>
418</varlistentry>
[673b0d8]419
[b8a819f]420<varlistentry id="pcprofiledump">
421<term><command>pcprofiledump</command></term>
[c6cb3aa]422<listitem>
[2256873]423<para>Dumps information generated by PC profiling</para>
[3ed279f]424<indexterm zone="ch-system-glibc pcprofiledump"><primary sortas="b-pcprofiledump">pcprofiledump</primary></indexterm>
[c6cb3aa]425</listitem>
426</varlistentry>
[673b0d8]427
[b8a819f]428<varlistentry id="pt_chown">
429<term><command>pt_chown</command></term>
[c6cb3aa]430<listitem>
[2256873]431<para>A helper program for <command>grantpt</command> to set
432the owner, group and access permissions of a slave pseudo terminal</para>
[3ed279f]433<indexterm zone="ch-system-glibc pt_chown"><primary sortas="b-pt_chown">pt_chown</primary></indexterm>
[c6cb3aa]434</listitem>
435</varlistentry>
[673b0d8]436
[b8a819f]437<varlistentry id="rpcgen">
438<term><command>rpcgen</command></term>
[c6cb3aa]439<listitem>
[2256873]440<para>Generates C code to implement the Remote Procecure Call (RPC) protocol</para>
[3ed279f]441<indexterm zone="ch-system-glibc rpcgen"><primary sortas="b-rpcgen">rpcgen</primary></indexterm>
[c6cb3aa]442</listitem>
443</varlistentry>
[673b0d8]444
[b8a819f]445<varlistentry id="rpcinfo">
446<term><command>rpcinfo</command></term>
[c6cb3aa]447<listitem>
[2256873]448<para>Makes an RPC call to an RPC server</para>
[3ed279f]449<indexterm zone="ch-system-glibc rpcinfo"><primary sortas="b-rpcinfo">rpcinfo</primary></indexterm>
[c6cb3aa]450</listitem>
451</varlistentry>
[673b0d8]452
[b8a819f]453<varlistentry id="sln">
454<term><command>sln</command></term>
[c6cb3aa]455<listitem>
[2256873]456<para>A statically linked <command>ln</command> program</para>
[3ed279f]457<indexterm zone="ch-system-glibc sln"><primary sortas="b-sln">sln</primary></indexterm>
[c6cb3aa]458</listitem>
459</varlistentry>
[673b0d8]460
[b8a819f]461<varlistentry id="sprof">
462<term><command>sprof</command></term>
[c6cb3aa]463<listitem>
[2256873]464<para>Reads and displays shared object profiling data</para>
[3ed279f]465<indexterm zone="ch-system-glibc sprof"><primary sortas="b-sprof">sprof</primary></indexterm>
[c6cb3aa]466</listitem>
467</varlistentry>
[4931dd3]468
[b8a819f]469<varlistentry id="tzselect">
470<term><command>tzselect</command></term>
[c6cb3aa]471<listitem>
[2256873]472<para>Asks the user about the location of the
473system and reports the corresponding time zone description</para>
[3ed279f]474<indexterm zone="ch-system-glibc tzselect"><primary sortas="b-tzselect">tzselect</primary></indexterm>
[c6cb3aa]475</listitem>
476</varlistentry>
[673b0d8]477
[b8a819f]478<varlistentry id="xtrace">
479<term><command>xtrace</command></term>
[c6cb3aa]480<listitem>
[2256873]481<para>Traces the execution of a program by
482printing the currently executed function</para>
[3ed279f]483<indexterm zone="ch-system-glibc xtrace"><primary sortas="b-xtrace">xtrace</primary></indexterm>
[c6cb3aa]484</listitem>
485</varlistentry>
[673b0d8]486
[b8a819f]487<varlistentry id="zdump">
488<term><command>zdump</command></term>
[c6cb3aa]489<listitem>
[2256873]490<para>The time zone dumper</para>
[3ed279f]491<indexterm zone="ch-system-glibc zdump"><primary sortas="b-zdump">zdump</primary></indexterm>
[c6cb3aa]492</listitem>
493</varlistentry>
[673b0d8]494
[b8a819f]495<varlistentry id="zic">
496<term><command>zic</command></term>
[c6cb3aa]497<listitem>
[2256873]498<para>The time zone compiler</para>
[3ed279f]499<indexterm zone="ch-system-glibc zic"><primary sortas="b-zic">zic</primary></indexterm>
[c6cb3aa]500</listitem>
501</varlistentry>
[673b0d8]502
[b8a819f]503<varlistentry id="ld.so">
[bb55064]504<term><filename class="libraryfile">ld.so</filename></term>
[c6cb3aa]505<listitem>
[2256873]506<para>The helper program for shared library executables</para>
[3ed279f]507<indexterm zone="ch-system-glibc ld.so"><primary sortas="c-ld.so">ld.so</primary></indexterm>
[c6cb3aa]508</listitem>
509</varlistentry>
[673b0d8]510
[b8a819f]511<varlistentry id="libBrokenLocale">
[bb55064]512<term><filename class="libraryfile">libBrokenLocale</filename></term>
[c6cb3aa]513<listitem>
[2256873]514<para>Used by programs, such as Mozilla, to solve broken locales</para>
[3ed279f]515<indexterm zone="ch-system-glibc libBrokenLocale"><primary sortas="c-libBrokenLocale">libBrokenLocale</primary></indexterm>
[c6cb3aa]516</listitem>
517</varlistentry>
[673b0d8]518
[b8a819f]519<varlistentry id="libSegFault">
[bb55064]520<term><filename class="libraryfile">libSegFault</filename></term>
[c6cb3aa]521<listitem>
[2256873]522<para>The segmentation fault signal handler</para>
[3ed279f]523<indexterm zone="ch-system-glibc libSegFault"><primary sortas="c-libSegFault">libSegFault</primary></indexterm>
[c6cb3aa]524</listitem>
525</varlistentry>
[673b0d8]526
[b8a819f]527<varlistentry id="libanl">
[bb55064]528<term><filename class="libraryfile">libanl</filename></term>
[c6cb3aa]529<listitem>
[2256873]530<para>An asynchronous name lookup library</para>
[3ed279f]531<indexterm zone="ch-system-glibc libanl"><primary sortas="c-libanl">libanl</primary></indexterm>
[c6cb3aa]532</listitem>
533</varlistentry>
[673b0d8]534
[b8a819f]535<varlistentry id="libbsd-compat">
[bb55064]536<term><filename class="libraryfile">libbsd-compat</filename></term>
[c6cb3aa]537<listitem>
[2256873]538<para>Provides the portability needed
539in order to run certain Berkey Software Distribution (BSD) programs under Linux</para>
[3ed279f]540<indexterm zone="ch-system-glibc libbsd-compat"><primary sortas="c-libbsd-compat">libbsd-compat</primary></indexterm>
[c6cb3aa]541</listitem>
542</varlistentry>
[673b0d8]543
[b8a819f]544<varlistentry id="libc">
[bb55064]545<term><filename class="libraryfile">libc</filename></term>
[c6cb3aa]546<listitem>
[2256873]547<para>The main C library</para>
[3ed279f]548<indexterm zone="ch-system-glibc libc"><primary sortas="c-libc">libc</primary></indexterm>
[c6cb3aa]549</listitem>
550</varlistentry>
[673b0d8]551
[b8a819f]552<varlistentry id="libcrypt">
[bb55064]553<term><filename class="libraryfile">libcrypt</filename></term>
[c6cb3aa]554<listitem>
[2256873]555<para>The cryptography library</para>
[3ed279f]556<indexterm zone="ch-system-glibc libcrypt"><primary sortas="c-libcrypt">libcrypt</primary></indexterm>
[c6cb3aa]557</listitem>
558</varlistentry>
[673b0d8]559
[b8a819f]560<varlistentry id="libdl">
[bb55064]561<term><filename class="libraryfile">libdl</filename></term>
[c6cb3aa]562<listitem>
[2256873]563<para>The dynamic linking interface library</para>
[3ed279f]564<indexterm zone="ch-system-glibc libdl"><primary sortas="c-libdl">libdl</primary></indexterm>
[c6cb3aa]565</listitem>
566</varlistentry>
[673b0d8]567
[b8a819f]568<varlistentry id="libg">
[bb55064]569<term><filename class="libraryfile">libg</filename></term>
[c6cb3aa]570<listitem>
[2256873]571<para>A runtime library for <command>g++</command></para>
[3ed279f]572<indexterm zone="ch-system-glibc libg"><primary sortas="c-libg">libg</primary></indexterm>
[c6cb3aa]573</listitem>
574</varlistentry>
[673b0d8]575
[b8a819f]576<varlistentry id="libieee">
[bb55064]577<term><filename class="libraryfile">libieee</filename></term>
[c6cb3aa]578<listitem>
[2256873]579<para>The Institute of Electrical and Electronic Engineers (IEEE) floating point library</para>
[3ed279f]580<indexterm zone="ch-system-glibc libieee"><primary sortas="c-libieee">libieee</primary></indexterm>
[c6cb3aa]581</listitem>
582</varlistentry>
[673b0d8]583
[b8a819f]584<varlistentry id="libm">
[bb55064]585<term><filename class="libraryfile">libm</filename></term>
[c6cb3aa]586<listitem>
[2256873]587<para>The mathematical library</para>
[3ed279f]588<indexterm zone="ch-system-glibc libm"><primary sortas="c-libm">libm</primary></indexterm>
[c6cb3aa]589</listitem>
590</varlistentry>
[673b0d8]591
[b8a819f]592<varlistentry id="libmcheck">
[bb55064]593<term><filename class="libraryfile">libmcheck</filename></term>
[c6cb3aa]594<listitem>
[2256873]595<para>Contains code run at boot</para>
[3ed279f]596<indexterm zone="ch-system-glibc libmcheck"><primary sortas="c-libmcheck">libmcheck</primary></indexterm>
[c6cb3aa]597</listitem>
598</varlistentry>
[673b0d8]599
[b8a819f]600<varlistentry id="libmemusage">
[bb55064]601<term><filename class="libraryfile">libmemusage</filename></term>
[c6cb3aa]602<listitem>
[2256873]603<para>Used by <command>memusage</command> to help collect
604information about the memory usage of a program</para>
[3ed279f]605<indexterm zone="ch-system-glibc libmemusage"><primary sortas="c-libmemusage">libmemusage</primary></indexterm>
[c6cb3aa]606</listitem>
607</varlistentry>
[673b0d8]608
[b8a819f]609<varlistentry id="libnsl">
[bb55064]610<term><filename class="libraryfile">libnsl</filename></term>
[c6cb3aa]611<listitem>
[2256873]612<para>The network services library</para>
[3ed279f]613<indexterm zone="ch-system-glibc libnsl"><primary sortas="c-libnsl">libnsl</primary></indexterm>
[c6cb3aa]614</listitem>
615</varlistentry>
[673b0d8]616
[b8a819f]617<varlistentry id="libnss">
[2256873]618<term><filename class="libraryfile">libnss</filename></term>
[c6cb3aa]619<listitem>
[2256873]620<para>The Name Service Switch libraries,
[673b0d8]621containing functions for resolving host names, user names, group names,
[2256873]622aliases, services, protocols, etc</para>
623<indexterm zone="ch-system-glibc libnss"><primary sortas="c-libnss">libnss</primary></indexterm>
[c6cb3aa]624</listitem>
625</varlistentry>
[673b0d8]626
[b8a819f]627<varlistentry id="libpcprofile">
[bb55064]628<term><filename class="libraryfile">libpcprofile</filename></term>
[c6cb3aa]629<listitem>
[2256873]630<para>Contains profiling functions used
631to track the amount of CPU time spent in specific source code lines</para>
[3ed279f]632<indexterm zone="ch-system-glibc libpcprofile"><primary sortas="c-libpcprofile">libpcprofile</primary></indexterm>
[c6cb3aa]633</listitem>
634</varlistentry>
[673b0d8]635
[b8a819f]636<varlistentry id="libpthread">
[bb55064]637<term><filename class="libraryfile">libpthread</filename></term>
[c6cb3aa]638<listitem>
[2256873]639<para>The POSIX threads library</para>
[3ed279f]640<indexterm zone="ch-system-glibc libpthread"><primary sortas="c-libpthread">libpthread</primary></indexterm>
[c6cb3aa]641</listitem>
642</varlistentry>
[673b0d8]643
[b8a819f]644<varlistentry id="libresolv">
[bb55064]645<term><filename class="libraryfile">libresolv</filename></term>
[c6cb3aa]646<listitem>
[2256873]647<para>Contains functions for creating,
648sending, and interpreting packets to the Internet domain name servers</para>
[3ed279f]649<indexterm zone="ch-system-glibc libresolv"><primary sortas="c-libresolv">libresolv</primary></indexterm>
[c6cb3aa]650</listitem>
651</varlistentry>
[673b0d8]652
[b8a819f]653<varlistentry id="librpcsvc">
[bb55064]654<term><filename class="libraryfile">librpcsvc</filename></term>
[c6cb3aa]655<listitem>
[2256873]656<para>Contains functions providing miscellaneous RPC services</para>
[3ed279f]657<indexterm zone="ch-system-glibc librpcsvc"><primary sortas="c-librpcsvc">librpcsvc</primary></indexterm>
[c6cb3aa]658</listitem>
659</varlistentry>
[673b0d8]660
[b8a819f]661<varlistentry id="librt">
[bb55064]662<term><filename class="libraryfile">librt</filename></term>
[c6cb3aa]663<listitem>
[2256873]664<para>Contains functions providing most of the
665interfaces specified by the POSIX.1b Realtime Extension</para>
[3ed279f]666<indexterm zone="ch-system-glibc librt"><primary sortas="c-librt">librt</primary></indexterm>
[c6cb3aa]667</listitem>
668</varlistentry>
[673b0d8]669
[b8a819f]670<varlistentry id="libthread_db">
[bb55064]671<term><filename class="libraryfile">libthread_db</filename></term>
[c6cb3aa]672<listitem>
[2256873]673<para>Contains functions useful for
674building debuggers for multi-threaded programs</para>
[3ed279f]675<indexterm zone="ch-system-glibc libthread_db"><primary sortas="c-libthread_db">libthread_db</primary></indexterm>
[c6cb3aa]676</listitem>
677</varlistentry>
[673b0d8]678
[b8a819f]679<varlistentry id="libutil">
[bb55064]680<term><filename class="libraryfile">libutil</filename></term>
[c6cb3aa]681<listitem>
[2256873]682<para>Contains code for <quote>standard</quote> functions used in many different Unix utilities</para>
[3ed279f]683<indexterm zone="ch-system-glibc libutil"><primary sortas="c-libutil">libutil</primary></indexterm>
[c6cb3aa]684</listitem>
685</varlistentry>
686</variablelist>
[673b0d8]687
688</sect2>
689
690</sect1>
[ef13657]691
Note: See TracBrowser for help on using the repository browser.