aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc.xml
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-09-16 00:21:26 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-09-16 00:21:26 +0000
commit2a7ac34a074d6f89c1385ba1ee542d9901fefd64 (patch)
treee8f84f74f81e53769190ede6ae3f81e8af03630a /chapter05/glibc.xml
parentb0a4c9a47dadc3ab2c37a034866cb542f3fffa0b (diff)
Upgrade to Glibc-2.6.1. Fixes #2018. Thanks to several people mentioned in the changelog.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8375 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r--chapter05/glibc.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 0710ea5da..dd35ef1d3 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -49,6 +49,16 @@
<screen><userinput>mkdir -v ../glibc-build
cd ../glibc-build</userinput></screen>
+ <para>Because Glibc no longer supports i386, its developers say to use the
+ compiler flag <parameter>-march=i486</parameter> when building it for x86
+ machines. There are several ways to accomplish that, but testing shows that
+ the flag is best placed inside the build variable <quote>CFLAGS</quote>.
+ Instead of overriding completely what Glibc's internal build system uses
+ for CFLAGS, append the new flag to the existing contents of CFLAGS by
+ making use of the special file <filename>configparms</filename>:</para>
+
+<screen><userinput>echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen>
+
<para>Next, prepare Glibc for compilation:</para>
<screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \