aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc-exp.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/glibc-exp.sgml')
-rw-r--r--chapter05/glibc-exp.sgml29
1 files changed, 29 insertions, 0 deletions
diff --git a/chapter05/glibc-exp.sgml b/chapter05/glibc-exp.sgml
new file mode 100644
index 000000000..b325b739d
--- /dev/null
+++ b/chapter05/glibc-exp.sgml
@@ -0,0 +1,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>
+