64bit on mac os x 10.6

Sam Rawlins sam.rawlins at gmail.com
Thu Jul 29 18:36:25 CEST 2010


I assumed Torbjorn was referring to
http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA
64-bit builds are supported, and should be the default on OS X 10.6.

If you build w/o your CFLAGS option, and find out that you are using a
proper version of gcc, and configure still bombs, please post the output of
configure, plus your gcc version, gmp version, and os x version.

On Wed, Jul 28, 2010 at 11:47 AM, Camm Maguire <camm at maguirefamily.org>wrote:

> 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
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs
>



-- 
Sam Rawlins


More information about the gmp-bugs mailing list