aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2004-01-20 05:59:05 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2004-01-20 05:59:05 +0000
commitd0a6c4c212b7204aef7ee577cf897d6c0c792520 (patch)
tree7fbb5f981f0583f923bbb53c9f98f6e1d239b954 /chapter06/glibc.xml
parentfae442d5f04416d382f6d14e8d5fefe7cf23bbbb (diff)
Upgraded to Glibc-2.3.3, Kbd-1.12, Perl-5.8.3 and Shadow-4.0.4.1.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3177 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml31
1 files changed, 13 insertions, 18 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 5bb78e198..3009a84d2 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -28,14 +28,8 @@ results and thus defeat our goal of achieving a clean build.</para>
<emphasis>critical</emphasis>. Our advice is to not skip it under any
circumstance.</para></note>
-<para>Before starting to build Glibc, remember to unpack the Glibc-linuxthreads
-again inside the <filename>glibc-&glibc-version;</filename> directory, and to
-unset any environment variables that override the default optimization
-flags.</para>
-
-<para>Apply the same patch we used previously:</para>
-
-<screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen>
+<para>Before starting to build Glibc, remember to unset any environment
+variables that override the default optimization flags.</para>
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>
@@ -45,9 +39,10 @@ cd ../glibc-build</userinput></screen>
<para>Now prepare Glibc for compilation:</para>
-<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
-&nbsp;&nbsp;&nbsp;&nbsp;--disable-profile --enable-add-ons \
-&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/lib --with-headers=/usr/include</userinput></screen>
+<screen><userinput>../&glibc-dir;/configure --prefix=/usr \
+&nbsp;&nbsp;&nbsp;&nbsp;--disable-profile --enable-add-ons=linuxthreads \
+&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/lib --with-headers=/usr/include \
+&nbsp;&nbsp;&nbsp;&nbsp;--without-cvs</userinput></screen>
<para>The meaning of the new configure options:</para>
@@ -95,14 +90,14 @@ weren't installed by the above command. Do it with this:</para>
<screen><userinput>make localedata/install-locales</userinput></screen>
<para>An alternative to running the previous command is to install only those
-locales which you need or want. This can be achieved using the
+locales which you need or want. This can be achieved by using the
<userinput>localedef</userinput> command. Information on this can be found in
-the <filename>INSTALL</filename> file in the
-<filename>glibc-&glibc-version;</filename> tree. However, there are a number
-of locales that are essential for the tests of future packages to pass
-correctly. The following instructions, in place of the install-locales
-command above, will install the minimum set of locales necessary for the
-tests to run successfully:</para>
+the <filename>INSTALL</filename> file in the Glibc source. However, there are
+a number of locales that are essential for the tests of future packages to
+pass, in particular, the <emphasis>libstdc++</emphasis> tests from GCC. The
+following instructions, instead of the install-locales target above, will
+install the minimum set of locales necessary for the tests to run
+successfully:</para>
<screen><userinput>mkdir -p /usr/lib/locale
localedef -i de_DE -f ISO-8859-1 de_DE