From e4eb4cce86846d9549d5c894658b6a486831623f Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Thu, 20 Nov 2008 22:07:12 +0000 Subject: I finally got around to the note about ABI=32. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8745 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 11 +++++++++++ chapter06/gmp.xml | 10 ++++++++++ general.ent | 4 ++-- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 9b66c775d..824d81fae 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,17 @@ --> + + 2008-11-20 + + + [ken] - Added note to gmp about CFLAGS on 64-bit-capable + machines. Reported by Tobias Gasser, thanks to Greg Schafer for + the analysis. + + + + 2008-11-13 diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index a7b6fc7af..2832a13fb 100644 --- a/chapter06/gmp.xml +++ b/chapter06/gmp.xml @@ -41,6 +41,16 @@ Installation of GMP + + If you have a CPU which is capable of running 64-bit code + and you have specified CFLAGS in the environment, + the configure script will attempt to configure for 64-bits and fail. + Avoid this by adding ABI=32 to the + CFLAGS variable for the duration of the configure + command below, then remove it afterwards. + + + Prepare Zlib for compilation: Prepare GMP for compilation: ./configure --prefix=/usr --enable-cxx --enable-mpbsd diff --git a/general.ent b/general.ent index 60bcb45ad..ff024d2b5 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + + -- cgit v1.2.3-54-g00ecf