Compiling GMP on OS X 10.6 (snow leopard)

Torbjorn Granlund tg at gmplib.org
Sat Oct 10 19:59:27 CEST 2009


Mark Rodenkirch <mgrogue at wi.rr.com> writes:

  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.
  
Could you please try a 32-bit compile, and see if it breaks too?

(I cannot test anything on the GMP project's x86-64 Mac, it died
silently last week.)

-- 
Torbjörn


More information about the gmp-bugs mailing list