mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 03:11:57 +00:00
Remove $LFS references, remove --with-headers
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@50 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
c8daf932d8
commit
f2cdbc548b
@ -1,29 +1,10 @@
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para>
|
||||
<userinput>patch -Np1 -i ../glibc-2.1.3.patch:</userinput> This applies
|
||||
a patch that fixes a minor bug in Glibc. Glibc defines a few variables
|
||||
names with illegal characters in the name. Bash-2.03 and older don't
|
||||
complain about that but Bash-2.04 does and won't compile Glibc properly.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<userinput>--enable-add-ons:</userinput> This enabled the add-ons that
|
||||
we install with Glibc: linuxthreads and crypt.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<userinput>--with-headers=$LFS/usr/include:</userinput> This makes Glibc
|
||||
use the kernel header files on our LFS system and not the kernel header
|
||||
files from your starting distribution which may be out-of-date or
|
||||
modified.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<userinput>make install_root=$LFS:</userinput> This is the Glibc way to
|
||||
specify the equivalent of --prefix=.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -12,7 +12,7 @@ A few default parameters of Glibc need to be changed, such as the
|
||||
directory where the shared libraries are supposed to be installed in and
|
||||
the directory that contains the system configuration files. For this
|
||||
purpose you need to create the <filename class="directory">
|
||||
$LFS/usr/src/glibc-build</filename> directory and cd into that directory
|
||||
/usr/src/glibc-build</filename> directory and cd into that directory
|
||||
with:
|
||||
</para>
|
||||
|
||||
@ -43,7 +43,7 @@ sysconfdir=/etc
|
||||
|
||||
<para>
|
||||
Change to the
|
||||
<filename class="directory">$LFS/usr/src/glibc-build</filename>
|
||||
<filename class="directory">/usr/src/glibc-build</filename>
|
||||
directory and install Glibc by running the following commands:
|
||||
</para>
|
||||
|
||||
@ -53,8 +53,6 @@ directory and install Glibc by running the following commands:
|
||||
<userinput>../glibc-2.2.1/configure \</userinput>
|
||||
<userinput> --prefix=/usr --enable-add-ons
|
||||
\</userinput>
|
||||
<userinput> --with-headers=$LFS/usr/include
|
||||
\</userinput>
|
||||
<userinput> --libexecdir=/usr/bin &&
|
||||
</userinput>
|
||||
<userinput>make &&</userinput>
|
||||
|
Loading…
Reference in New Issue
Block a user