aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc.xml
diff options
context:
space:
mode:
authorArchaic <archaic@linuxfromscratch.org>2005-12-26 19:00:06 +0000
committerArchaic <archaic@linuxfromscratch.org>2005-12-26 19:00:06 +0000
commit5536f7440f2f4a12782e8d741cbbba5f1c3cfea8 (patch)
treea0f3a22ecc9c0eedfd891d54e9acf06502d2b07f /chapter05/glibc.xml
parent2550494b85359ff42bb95a72911c7751cbce14d4 (diff)
Applied Alexander Patrakov's patch which adds UTF-8 capability to the
development branch of the LFS Book. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7235 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r--chapter05/glibc.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 51d44ad24..68fd4ce01 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -27,6 +27,17 @@
<sect2 role="installation">
<title>Installation of Glibc</title>
+<para>The glibc-libidn tarball adds support for internationalized
+(non-ASCII) domain names to Glibc. While this facility is not
+useful in this chapter, the installation commands of
+<xref linkend="chapter-building-system"/>
+glibc (wrongly) check <xref linkend="chapter-temporary-tools"/> glibc for
+this feature. Unpack the tarball from within the Glibc source
+directory in order to avoid this bogus failure:</para>
+
+<screen><userinput>tar jxf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
+<!-- TODO: DIY Linux modifies the installation check script in Chapte 6 instead -->
+
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>
@@ -36,7 +47,7 @@ cd ../glibc-build</userinput></screen>
<para>Next, prepare Glibc for compilation:</para>
<screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
- --disable-profile --enable-add-ons \
+ --disable-profile --enable-add-ons=nptl,libidn \
--enable-kernel=2.6.0 --with-binutils=/tools/bin \
--without-gd --with-headers=/tools/include \
--without-selinux</userinput></screen>
@@ -52,9 +63,9 @@ necessary.</para></listitem>
</varlistentry>
<varlistentry>
-<term><parameter>--enable-add-ons</parameter></term>
+<term><parameter>--enable-add-ons=nptl,libidn</parameter></term>
<listitem><para>This tells Glibc to use the NPTL add-on as its threading
-library.</para></listitem>
+library, and adds support for non-ASCII domain names.</para></listitem>
</varlistentry>
<varlistentry>