aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc-exp.sgml
blob: b325b739d55daf528556d28ef9d59e4fa8fd28cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<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>