On 18/07/10 01:47, Jeremy Huntwork wrote:
> Hey,
>
> Not sure if anybody else ran into this, but just something to look out for 
> with gmp:
>
> My machine is an Intel Core 2 Duo processor, however I was running a Virtual 
> Machine and building an LFS-type build using a 32-bit kernel, so my 
> architecture was i686. When I went to build gmp, it detected that the 
> processor was actually a core 2 duo and so selected optimizations for that 
> arch, which then promptly failed to build because the rest of the system was 
> built for i686. I could see this possibly affecting some LFS users who are 
> using 64-bit capable hardware, but running a 32-bit kernel. A note that 
> adding '--build=i686-pc-linux-gnu' to the configure line in such a case might 
> be useful. Or if not, at least it's documented here. :)
>

The note on the GMP page
http://www.linuxfromscratch.org/lfs/view/development/chapter06/gmp.html
says that this problem only occurs if you have set CFLAGS. Did you set 
CFLAGS?

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to