mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-27 07:39:20 +01:00
textual changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2411 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
bdadd380fa
commit
2b114b251e
@ -4,10 +4,10 @@
|
|||||||
<title>Installation of Binutils</title>
|
<title>Installation of Binutils</title>
|
||||||
|
|
||||||
<para>This package is known to behave badly when you have changed its default
|
<para>This package is known to behave badly when you have changed its default
|
||||||
optimization flags (including the -march and -mcpu options). Binutils is
|
optimization flags (including the -march and -mcpu options). Therefore, if
|
||||||
best left alone. Therefore, if you have defined any environment variables
|
you have defined any environment variables that override default
|
||||||
that override default optimizations, such as CFLAGS and CXXFLAGS, we
|
optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting or
|
||||||
recommend unsetting or modifying them when building binutils.</para>
|
modifying them when building binutils.</para>
|
||||||
|
|
||||||
<para>It is recommended by the Binutils installation documentation to build
|
<para>It is recommended by the Binutils installation documentation to build
|
||||||
Binutils outside of the source directory in a dedicated directory:</para>
|
Binutils outside of the source directory in a dedicated directory:</para>
|
||||||
|
@ -7,10 +7,10 @@
|
|||||||
the gcc-core tarball needs to be unpacked at this time.</para>
|
the gcc-core tarball needs to be unpacked at this time.</para>
|
||||||
|
|
||||||
<para>This package is known to behave badly when you have changed its
|
<para>This package is known to behave badly when you have changed its
|
||||||
default optimization flags (including the -march and -mcpu options). GCC is
|
default optimization flags (including the -march and -mcpu options).
|
||||||
best left alone. Therefore, if you have defined any environment variables
|
Therefore, if you have defined any environment variables that override
|
||||||
that override default optimizations, such as CFLAGS and CXXFLAGS, we
|
default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
|
||||||
recommend unsetting or modifying them when building GCC.</para>
|
or modifying them when building GCC.</para>
|
||||||
|
|
||||||
<para>It is recommended by the GCC installation documentation to build
|
<para>It is recommended by the GCC installation documentation to build
|
||||||
GCC outside of the source directory in a dedicated directory:</para>
|
GCC outside of the source directory in a dedicated directory:</para>
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
<sect2><title>Installation of Binutils</title>
|
<sect2><title>Installation of Binutils</title>
|
||||||
|
|
||||||
<para>This package is known to behave badly when you have changed its
|
<para>This package is known to behave badly when you have changed its
|
||||||
default optimization flags (including the -march and -mcpu options). Binutils
|
default optimization flags (including the -march and -mcpu options).
|
||||||
is best left alone. Therefore, if you have defined any environment variables
|
Therefore, if you have defined any environment variables that override
|
||||||
that override default optimizations, such as CFLAGS and CXXFLAGS, we
|
default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
|
||||||
recommend unsetting or modifying them when building binutils.</para>
|
or modifying them when building binutils.</para>
|
||||||
|
|
||||||
<para>It is recommended by the Binutils installation documentation to build
|
<para>It is recommended by the Binutils installation documentation to build
|
||||||
Binutils outside of the source directory:</para>
|
Binutils outside of the source directory:</para>
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
<sect2><title>Configuring Shadow Password Suite</title>
|
<sect2><title>Configuring Shadow Password Suite</title>
|
||||||
|
|
||||||
<para>This package contains utilities to modify users' passwords, add
|
<para>This package contains utilities to modify users' passwords, add
|
||||||
or delete users and groups, and the like. We're not going to explain
|
or delete users and groups, and the like. We're not going to explain what
|
||||||
what 'password shadowing' means. A full explanation can be found in the doc/HOWTO
|
'password shadowing' means. A full explanation can be found in the doc/HOWTO
|
||||||
file within the unpacked shadow password suite's source tree. There's one
|
file within the unpacked shadow password suite's source tree. There's one
|
||||||
thing to keep in mind if you decide to use shadow support: that
|
thing to keep in mind if you decide to use shadow support: programs that
|
||||||
programs that need to verify passwords (for example xdm, ftp daemons,
|
need to verify passwords (for example xdm, ftp daemons, pop3 daemons) need
|
||||||
pop3 daemons) need to be 'shadow-compliant', that is they need to
|
to be 'shadow-compliant', that is they need to be able to work with
|
||||||
be able to work with shadowed passwords.</para>
|
hadowed passwords.</para>
|
||||||
|
|
||||||
<para>To enable shadowed passwords, run the following command:</para>
|
<para>To enable shadowed passwords, run the following command:</para>
|
||||||
|
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
<title>Installation of GCC</title>
|
<title>Installation of GCC</title>
|
||||||
|
|
||||||
<para>This package is known to behave badly when you have changed its
|
<para>This package is known to behave badly when you have changed its
|
||||||
default optimization flags (including the -march and -mcpu options). GCC is
|
default optimization flags (including the -march and -mcpu options).
|
||||||
best left alone. Therefore, if you have defined any environment variables
|
Therefore, if you have defined any environment variables that override
|
||||||
that override default optimizations, such as CFLAGS and CXXFLAGS, we
|
default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
|
||||||
recommend unsetting or modifying them when building GCC.</para>
|
or modifying them when building GCC.</para>
|
||||||
|
|
||||||
<para>We will be building the C and C++ compilers at this time, so you'll
|
<para>We will be building the C and C++ compilers at this time, so you'll
|
||||||
need to unpack both the gcc-core and gcc-g++ tarballs. Other compilers are
|
need to unpack both the gcc-core and gcc-g++ tarballs. Other compilers are
|
||||||
|
@ -9,10 +9,10 @@ the glibc-&glibc-version; directory, not in /usr/src as you normally
|
|||||||
would do.</para>
|
would do.</para>
|
||||||
|
|
||||||
<para>This package is known to behave badly when you have changed its
|
<para>This package is known to behave badly when you have changed its
|
||||||
default optimization flags (including the -march and -mcpu options). Glibc
|
default optimization flags (including the -march and -mcpu options).
|
||||||
is best left alone. Therefore, if you have defined any environment variables
|
Therefore, if you have defined any environment variables that override
|
||||||
that override default optimizations, such as CFLAGS and CXXFLAGS, we
|
default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
|
||||||
recommend unsetting or modifying them when building Glibc.</para>
|
or modifying them when building Glibc.</para>
|
||||||
|
|
||||||
<para>Basically, compiling Glibc in any other way than the book suggests
|
<para>Basically, compiling Glibc in any other way than the book suggests
|
||||||
is putting your system at a very high risk.</para>
|
is putting your system at a very high risk.</para>
|
||||||
|
@ -19,21 +19,19 @@ LFS. Much like GCC's bootstrap installation method).</para>
|
|||||||
|
|
||||||
<para>We'll also install the linuxthreads man pages here. As you may
|
<para>We'll also install the linuxthreads man pages here. As you may
|
||||||
recall, during the first installation of Glibc this wasn't possible because
|
recall, during the first installation of Glibc this wasn't possible because
|
||||||
Perl wasn't installed yet. Everything we need to install the Glibc
|
Perl wasn't installed yet. Now that everything needed to install the Glibc
|
||||||
linuxthread man pages is present now, so we'll take care of this too
|
linuxthreads man pages is present as well, we will install those too.</para>
|
||||||
now.</para>
|
|
||||||
|
|
||||||
<para>Before starting to install glibc, you must cd into the
|
<para>Before starting to install Glibc, you must cd into the
|
||||||
glibc-&glibc-version; directory and unpack glibc-linuxthreads inside
|
glibc-&glibc-version; directory and unpack glibc-linuxthreads inside
|
||||||
the glibc-&glibc-version; directory, not in /usr/src as you normally
|
the glibc-&glibc-version; directory, not in /usr/src as you normally
|
||||||
would do.</para>
|
would do.</para>
|
||||||
|
|
||||||
<para>This package is known to behave badly when you have changed its
|
<para>This package is known to behave badly when you have changed its
|
||||||
default optimization flags (including the -march and -mcpu options). Glibc
|
default optimization flags (including the -march and -mcpu options).
|
||||||
is best left alone. Therefore, if you have defined any environment variables
|
Therefore, if you have defined any environment variables that override
|
||||||
that override default optimizations, such as CFLAGS and CXXFLAGS, we
|
default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
|
||||||
recommend unsetting or modifying them when building Glibc. You have
|
or modifying them when building Glibc. You have been warned.</para>
|
||||||
been warned.</para>
|
|
||||||
|
|
||||||
<para>Basically, compiling Glibc in any other way than the book suggests
|
<para>Basically, compiling Glibc in any other way than the book suggests
|
||||||
is putting your system at very high risk.</para>
|
is putting your system at very high risk.</para>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Psmisc</title>
|
<title>Installation of Psmisc</title>
|
||||||
|
|
||||||
<para>Prepare Psmic to be compiled:</para>
|
<para>Prepare Psmisc to be compiled:</para>
|
||||||
|
|
||||||
<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para>
|
<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para>
|
||||||
|
|
||||||
|
@ -34,11 +34,11 @@ audio:x:11:
|
|||||||
<userinput>EOF</userinput></screen></para>
|
<userinput>EOF</userinput></screen></para>
|
||||||
|
|
||||||
<para>The created groups aren't part of any standard -- they are the groups
|
<para>The created groups aren't part of any standard -- they are the groups
|
||||||
that the MAKEDEV script in the next section uses.
|
that the MAKEDEV script in the next section uses. Besides the group "root",
|
||||||
Besides the group "root", the LSB recommends only a group "bin", with a GID
|
the LSB (<ulink url="http://www.linuxbase.org"/>) (recommends only a group
|
||||||
of 1, be present. All other group names and GIDs can be chosen freely by
|
"bin", with a GID of 1, be present. All other group names and GIDs can be
|
||||||
the user, as well-written packages don't depend on GID numbers but use the
|
chosen freely by the user, as well-written packages don't depend on GID
|
||||||
group's name.</para>
|
numbers but use the group's name.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
<title>FHS compliance notes</title>
|
<title>FHS compliance notes</title>
|
||||||
|
|
||||||
<para>The FHS recommends that we use /var/lib/hwclock, instead of the
|
<para>The FHS recommends that we use /var/lib/hwclock, instead of the
|
||||||
usual /etc, as the location of the adjtime file. To make hwclock, which
|
usual /etc, as the location of the adjtime file. To make hwclock
|
||||||
is part of the util-linux package, FHS-compliant, run the following:</para>
|
FHS-compliant, run the following:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &&
|
<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &&
|
||||||
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
|
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<!ENTITY aa-man-down SYSTEM "../appendixa/man-down.xml">
|
<!ENTITY aa-man-down SYSTEM "../appendixa/man-down.xml">
|
||||||
|
|
||||||
<!ENTITY man-version "1.5k">
|
<!ENTITY man-version "1.5k">
|
||||||
<!ENTITY man-depversion "1.5i2">
|
<!ENTITY man-depversion "1.5i">
|
||||||
<!ENTITY man-contversion "1.5k">
|
<!ENTITY man-contversion "1.5k">
|
||||||
<!ENTITY man-size "189 KB">
|
<!ENTITY man-size "189 KB">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user