source: chapter06/glibc.xml@ a52c8c2

Last change on this file since a52c8c2 was 83865af, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Merged stuff from RAQ2 in chapter06 - first round.

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