diff options
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r-- | chapter06/glibc.xml | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 854931cd8..b29676594 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -33,7 +33,7 @@ Gawk, GCC, Gettext, Grep, Make, Perl, Sed, Texinfo</seg></seglistitem> <para>The Glibc build system is very well self-contained and will install perfectly, even though our compiler specs file and linker are still pointing -at <filename>/tools</filename>. We cannot adjust the specs and linker before +at <filename class="directory">/tools</filename>. We cannot adjust the specs and linker before the Glibc install, because the Glibc autoconf tests would then give bogus results and thus defeat our goal of achieving a clean build.</para> @@ -57,9 +57,9 @@ cd ../glibc-build</userinput></screen> <variablelist> <varlistentry> -<term><userinput>--libexecdir=/tmp/pt_chown</userinput></term> +<term><parameter>--libexecdir=/tmp/pt_chown</parameter></term> <listitem><para>This changes -the location of the <filename>pt_chown</filename> program from its default of +the location of the <command>pt_chown</command> program from its default of <filename class="directory">/usr/libexec</filename> to <filename class="directory">/tmp/pt_chown</filename>. This program isn't required on modern systems, so we install it in a place from which we will delete it @@ -134,7 +134,7 @@ Numerous unofficial and unstable patches are required to fix these problems, and it has been decided not to support such complex locales. This applies to the ja_JP and fa_IR locales as well: they have been installed only -for gcc and gettext tests to pass, and e.g. +for GCC and Gettext tests to pass, and e.g. the <command>watch</command> program (part of Procps) compiled according to this book doesn't work properly in them. Various attempts to circumvent these @@ -164,7 +164,7 @@ to be set up.</para> <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the following:</para> -<screen><userinput>cat > /etc/nsswitch.conf << "EOF"</userinput> +<screen><userinput>cat > /etc/nsswitch.conf << "EOF" # Begin /etc/nsswitch.conf passwd: files @@ -180,7 +180,7 @@ ethers: files rpc: files # End /etc/nsswitch.conf -<userinput>EOF</userinput></screen> +EOF</userinput></screen> <para>To find out what time zone you're in, run the following script:</para> @@ -197,10 +197,10 @@ or <emphasis>Canada/Eastern</emphasis>. Then create the <variablelist> <varlistentry> -<term><userinput>--remove-destination</userinput></term> +<term><parameter>--remove-destination</parameter></term> <listitem><para>This is needed to force removal of the already existing symbolic link. The reason why we copy instead of symlink is to cover the situation where -<filename>/usr</filename> is on a separate partition. This could matter, for +<filename class="directory">/usr</filename> is on a separate partition. This could matter, for example, when booted into single user mode.</para></listitem> </varlistentry> </variablelist> @@ -217,7 +217,7 @@ gave you.</para> <indexterm zone="conf-ld"><primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary></indexterm> <para>By default, the dynamic loader -(<filename>/lib/ld-linux.so.2</filename>) searches through <filename +(<filename class="libraryfile">/lib/ld-linux.so.2</filename>) searches through <filename class="directory">/lib</filename> and <filename class="directory">/usr/lib</filename> for dynamic libraries that are needed by programs when you run them. However, if there are libraries in @@ -232,14 +232,14 @@ dynamic loader's search path.</para> <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the following:</para> -<screen><userinput>cat > /etc/ld.so.conf << "EOF"</userinput> +<screen><userinput>cat > /etc/ld.so.conf << "EOF" # Begin /etc/ld.so.conf /usr/local/lib /opt/lib # End /etc/ld.so.conf -<userinput>EOF</userinput></screen> +EOF</userinput></screen> </sect2> @@ -317,7 +317,7 @@ when a program terminates with a segmentation fault.</para> <term><command>iconvconfig</command></term> <listitem> <indexterm zone="ch-system-glibc iconvconfig"><primary sortas="b-iconvconfig">iconvconfig</primary></indexterm> -<para>creates fastloading iconv module configuration file.</para> +<para>creates fastloading <command>iconv</command> module configuration file.</para> </listitem> </varlistentry> @@ -342,7 +342,7 @@ by each given program or shared library.</para> <term><command>lddlibc4</command></term> <listitem> <indexterm zone="ch-system-glibc lddlibc4"><primary sortas="b-lddlibc4">lddlibc4</primary></indexterm> -<para>assists ldd with object files.</para> +<para>assists <command>ldd</command> with object files.</para> </listitem> </varlistentry> @@ -474,7 +474,7 @@ printing the currently executed function.</para> </varlistentry> <varlistentry id="ld.so"> -<term><command>ld.so</command></term> +<term><filename class="libraryfile">ld.so</filename></term> <listitem> <indexterm zone="ch-system-glibc ld.so"><primary sortas="c-ld.so">ld.so</primary></indexterm> <para>is the helper program for shared library executables.</para> @@ -482,7 +482,7 @@ printing the currently executed function.</para> </varlistentry> <varlistentry id="libBrokenLocale"> -<term><command>libBrokenLocale</command></term> +<term><filename class="libraryfile">libBrokenLocale</filename></term> <listitem> <indexterm zone="ch-system-glibc libBrokenLocale"><primary sortas="c-libBrokenLocale">libBrokenLocale</primary></indexterm> <para>is used by programs, such as Mozilla, to solve broken locales.</para> @@ -490,7 +490,7 @@ printing the currently executed function.</para> </varlistentry> <varlistentry id="libSegFault"> -<term><command>libSegFault</command></term> +<term><filename class="libraryfile">libSegFault</filename></term> <listitem> <indexterm zone="ch-system-glibc libSegFault"><primary sortas="c-libSegFault">libSegFault</primary></indexterm> <para>is a segmentation fault signal handler. It tries to catch segfaults.</para> @@ -498,7 +498,7 @@ printing the currently executed function.</para> </varlistentry> <varlistentry id="libanl"> -<term><command>libanl</command></term> +<term><filename class="libraryfile">libanl</filename></term> <listitem> <indexterm zone="ch-system-glibc libanl"><primary sortas="c-libanl">libanl</primary></indexterm> <para>is an asynchronous name lookup library.</para> @@ -506,7 +506,7 @@ printing the currently executed function.</para> </varlistentry> <varlistentry id="libbsd-compat"> -<term><command>libbsd-compat</command></term> +<term><filename class="libraryfile">libbsd-compat</filename></term> <listitem> <indexterm zone="ch-system-glibc libbsd-compat"><primary sortas="c-libbsd-compat">libbsd-compat</primary></indexterm> <para>provides the portability needed @@ -515,7 +515,7 @@ in order to run certain BSD programs under Linux.</para> </varlistentry> <varlistentry id="libc"> -<term><command>libc</command></term> +<term><filename class="libraryfile">libc</filename></term> <listitem> <indexterm zone="ch-system-glibc libc"><primary sortas="c-libc">libc</primary></indexterm> <para>is the main C library -- a collection of commonly used functions.</para> @@ -523,7 +523,7 @@ in order to run certain BSD programs under Linux.</para> </varlistentry> <varlistentry id="libcrypt"> -<term><command>libcrypt</command></term> +<term><filename class="libraryfile">libcrypt</filename></term> <listitem> <indexterm zone="ch-system-glibc libcrypt"><primary sortas="c-libcrypt">libcrypt</primary></indexterm> <para>is the cryptography library.</para> @@ -531,7 +531,7 @@ in order to run certain BSD programs under Linux.</para> </varlistentry> <varlistentry id="libdl"> -<term><command>libdl</command></term> +<term><filename class="libraryfile">libdl</filename></term> <listitem> <indexterm zone="ch-system-glibc libdl"><primary sortas="c-libdl">libdl</primary></indexterm> <para>is the dynamic linking interface library.</para> @@ -539,15 +539,15 @@ in order to run certain BSD programs under Linux.</para> </varlistentry> <varlistentry id="libg"> -<term><command>libg</command></term> +<term><filename class="libraryfile">libg</filename></term> <listitem> <indexterm zone="ch-system-glibc libg"><primary sortas="c-libg">libg</primary></indexterm> -<para>is a runtime library for g++.</para> +<para>is a runtime library for <command>g++</command>.</para> </listitem> </varlistentry> <varlistentry id="libieee"> -<term><command>libieee</command></term> +<term><filename class="libraryfile">libieee</filename></term> <listitem> <indexterm zone="ch-system-glibc libieee"><primary sortas="c-libieee">libieee</primary></indexterm> <para>is the IEEE floating point library.</para> @@ -555,7 +555,7 @@ in order to run certain BSD programs under Linux.</para> </varlistentry> <varlistentry id="libm"> -<term><command>libm</command></term> +<term><filename class="libraryfile">libm</filename></term> <listitem> <indexterm zone="ch-system-glibc libm"><primary sortas="c-libm">libm</primary></indexterm> <para>is the mathematical library.</para> @@ -563,7 +563,7 @@ in order to run certain BSD programs under Linux.</para> </varlistentry> <varlistentry id="libmcheck"> -<term><command>libmcheck</command></term> +<term><filename class="libraryfile">libmcheck</filename></term> <listitem> <indexterm zone="ch-system-glibc libmcheck"><primary sortas="c-libmcheck">libmcheck</primary></indexterm> <para>contains code run at boot.</para> @@ -571,16 +571,16 @@ in order to run certain BSD programs under Linux.</para> </varlistentry> <varlistentry id="libmemusage"> -<term><command>libmemusage</command></term> +<term><filename class="libraryfile">libmemusage</filename></term> <listitem> <indexterm zone="ch-system-glibc libmemusage"><primary sortas="c-libmemusage">libmemusage</primary></indexterm> -<para>is used by memusage to help collect +<para>is used by <command>memusage</command> to help collect information about the memory usage of a program.</para> </listitem> </varlistentry> <varlistentry id="libnsl"> -<term><command>libnsl</command></term> +<term><filename class="libraryfile">libnsl</filename></term> <listitem> <indexterm zone="ch-system-glibc libnsl"><primary sortas="c-libnsl">libnsl</primary></indexterm> <para>is the network services library.</para> @@ -588,17 +588,17 @@ information about the memory usage of a program.</para> </varlistentry> <varlistentry id="libnss"> -<term><command>libnss*</command></term> +<term><filename class="libraryfile">libnss*</filename></term> <listitem> <indexterm zone="ch-system-glibc libnss"><primary sortas="c-libnss*">libnss*</primary></indexterm> <para>are the Name Service Switch libraries, containing functions for resolving host names, user names, group names, -aliases, services, protocols,and the like.</para> +aliases, services, protocols, and the like.</para> </listitem> </varlistentry> <varlistentry id="libpcprofile"> -<term><command>libpcprofile</command></term> +<term><filename class="libraryfile">libpcprofile</filename></term> <listitem> <indexterm zone="ch-system-glibc libpcprofile"><primary sortas="c-libpcprofile">libpcprofile</primary></indexterm> <para>contains profiling functions used @@ -607,7 +607,7 @@ to track the amount of CPU time spent in which source code lines.</para> </varlistentry> <varlistentry id="libpthread"> -<term><command>libpthread</command></term> +<term><filename class="libraryfile">libpthread</filename></term> <listitem> <indexterm zone="ch-system-glibc libpthread"><primary sortas="c-libpthread">libpthread</primary></indexterm> <para>is the POSIX threads library.</para> @@ -615,7 +615,7 @@ to track the amount of CPU time spent in which source code lines.</para> </varlistentry> <varlistentry id="libresolv"> -<term><command>libresolv</command></term> +<term><filename class="libraryfile">libresolv</filename></term> <listitem> <indexterm zone="ch-system-glibc libresolv"><primary sortas="c-libresolv">libresolv</primary></indexterm> <para>contains functions for creating, @@ -624,7 +624,7 @@ sending, and interpreting packets to the Internet domain name servers.</para> </varlistentry> <varlistentry id="librpcsvc"> -<term><command>librpcsvc</command></term> +<term><filename class="libraryfile">librpcsvc</filename></term> <listitem> <indexterm zone="ch-system-glibc librpcsvc"><primary sortas="c-librpcsvc">librpcsvc</primary></indexterm> <para>contains functions providing miscellaneous RPC services.</para> @@ -632,7 +632,7 @@ sending, and interpreting packets to the Internet domain name servers.</para> </varlistentry> <varlistentry id="librt"> -<term><command>librt</command></term> +<term><filename class="libraryfile">librt</filename></term> <listitem> <indexterm zone="ch-system-glibc librt"><primary sortas="c-librt">librt</primary></indexterm> <para>contains functions providing most of the @@ -641,7 +641,7 @@ interfaces specified by the POSIX.1b Realtime Extension.</para> </varlistentry> <varlistentry id="libthread_db"> -<term><command>libthread_db</command></term> +<term><filename class="libraryfile">libthread_db</filename></term> <listitem> <indexterm zone="ch-system-glibc libthread_db"><primary sortas="c-libthread_db">libthread_db</primary></indexterm> <para>contains functions useful for @@ -650,10 +650,10 @@ building debuggers for multi-threaded programs.</para> </varlistentry> <varlistentry id="libutil"> -<term><command>libutil</command></term> +<term><filename class="libraryfile">libutil</filename></term> <listitem> <indexterm zone="ch-system-glibc libutil"><primary sortas="c-libutil">libutil</primary></indexterm> -<para>contains code for "standard" functions used in many different Unix utilities.</para> +<para>contains code for <quote>standard</quote> functions used in many different Unix utilities.</para> </listitem> </varlistentry> </variablelist> |