64bit on mac os x 10.6
Jack Howarth
howarth at bromo.med.uc.edu
Thu Jul 29 15:18:29 CEST 2010
On Wed, Jul 28, 2010 at 02:47:20PM -0400, Camm Maguire 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,
Are you trying to link together 32-bit and 64-bit code? This is
impossible. If you want a 64-bit build of gmp, you can install x86_64
fink on either 10.5 or 10.6 and 'fink install' either gmp (for 4.3.2)
or gmp5 (for 5.0.1).
Jack
> --
> 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
More information about the gmp-bugs
mailing list