----- Original Message ----- From: "Bruce Dubbs" <[email protected]> To: "LFS Developers Mailinglist" <[email protected]> Sent: Sunday, May 09, 2010 7:00 PM Subject: Re: gmp note (#2648)
> Ken Moffat wrote: > > Moving this here from trac. When I put the ABI=32 note in, I > > screwed up. But it's only 2 weeks ago that anyone noticed. > > > > In the meantime, building for x86_64 is now supported by LFS, so > > the current note could also be misinterpreted. > > > > There is a second issue on the ticket - if I've understood correctly, > > this only happens when you build on one machine to run on a > > different (probably, "lesser") machine. If that is correct, I think > > it's worth noting even though we don't necessarily support this. > > > > I've taken a first stab at rewording and expanding the note, > > but I'd appreciate some review. The page is at > > http://www.linuxfromscratch.org/~ken/tmp/chapter06/gmp.html > > (only that page, plus images and stylesheets so that it renders). > > The substance looks pretty good. How about some minor changes: > > If you are building with a 32-bit kernel, 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 > 32-bit kernel and 32-bit userland is a different matter. What matter here is 32-bit userland, not kernel. Gilles -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
