64bit on mac os x 10.6

Camm Maguire camm at maguirefamily.org
Wed Jul 28 20:47:20 CEST 2010


Greetings, and thanks so much!

Torbjorn Granlund <tg at gmplib.org> writes:

> Camm Maguire <camm at maguirefamily.org> writes:
>
>   Greetings!  Not sure if this is a bug, but setting CFLAGS=-m64 makes
>   configure bomb as sizeof(long)==4 is asserted.  Is there a workaround
>   to this, or is gmp on this machine 32bit only?  I am having trouble
>   getting the gcc-4.2 linker to combine 64bit and 32bit code.
>   
> The workaround for this "bug" is reading a few lines from the fine manual.
>

Are you referring to:

  • Gcc 4.3.2 miscompiles GMP on 64-bit machines.

I saw this, but was unsure regarding the mac which only has gcc-4.2.1
available. 

I couldn't find anyting that directly said 64bit was unsupported on
the mac.  Is this the case?

Thanks again so much!
-- 
Camm Maguire			     		    camm at maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


More information about the gmp-bugs mailing list