On Sun 12 Apr 2009 19:12, John Rehwinkel <[email protected]> writes:

> Since gmp is built as a 64-bit library, the gmp test in configure fails
> on MacOS with an architecture mismatch with libgmp.dylib.   Adding
> CFLAGS=-m64 to the ./configure command fixes this.  I don't  know if
> it's worth automating this, but I figured I'd point it out.

Hm, for me I had to do CC='gcc -m32' ABI=32 when building gmp on macos,
thus solving the problem in the opposite way. I don't really understand
the issues here -- is it that GMP is explicitly building as 64-bit if
possible, whereas on Mac OS things default to 32-bit?

Andy
-- 
http://wingolog.org/


Reply via email to