From 1018fd342899e7dae021108cf697cbdd76cecf96 Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Mon, 24 May 2010 00:41:00 +0000 Subject: Reword the gmp note (ABI is not part of CFLAGS, and now that we also build for x86_64 it only applies to 32-bit builds). Fixes #2648. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9287 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter06/gmp.xml | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f7ebf09c9..ce6fbc0cb 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ 2010-05-23 + + [ken] - Reword the ABI note in gmp (chapter06) to correct + it, and to stress that it is for 32-bit. Fixes + #2648 + [bdubbs] - Add a patch to fix some internal problems in Man-DB when viewing some pages. Thanks to William Immendorf diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index 522cd6710..8593e90c1 100644 --- a/chapter06/gmp.xml +++ b/chapter06/gmp.xml @@ -42,12 +42,13 @@ 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. + If you are building for 32-bit x86, but 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 invoking the configure command below with + ABI=32 ./configure ... + Prepare GMP for compilation: -- cgit v1.2.3-54-g00ecf