source: chapter06/glibc.xml@ 8d5ffbfd

Last change on this file since 8d5ffbfd was 0932530, checked in by Jim Gifford <jim@…>, 19 years ago

Updates to glibc and fstab

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

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