Compiling GMP on OS X 10.6 (snow leopard)

Mark Rodenkirch mgrogue at wi.rr.com
Sat Oct 10 18:37:26 CEST 2009


On Oct 10, 2009, at 11:29 AM, Torbjorn Granlund wrote:

> Perhaps what you are saying that the new compiler under 10.6  
> defaults to
> generating 64-bit code, and that one needs to pass an option to make  
> it
> generate 32-bit code?

I can attest to the truthfulness of that statement.  gcc 4.2.1 on 10.6  
defaults to 64-bit compiles, thus requiring -m32 for 32-bit compiles.

--Mark


More information about the gmp-bugs mailing list