[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CFLAGS=-m64 needed for gmp with MacOS
From: |
Andy Wingo |
Subject: |
Re: CFLAGS=-m64 needed for gmp with MacOS |
Date: |
Wed, 15 Apr 2009 11:59:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
On Sun 12 Apr 2009 19:12, John Rehwinkel <address@hidden> 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/