source: chapter06/glibc.xml@ ec0a37e6

6.0
Last change on this file since ec0a37e6 was 24a08b9, checked in by Gerard Beekmans <gerard@…>, 20 years ago

General edits. Added bash+readline display_wrap patches

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

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