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