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