Karim Belabas on Thu, 25 Jan 2007 11:39:59 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GMP build on OSX

* Phil Carmody [2007-01-25 01:40]:
> I'm an OSX newb, so when even GMP 4.2.1 failed the same way I 
> offloaded the task onto the guy who always seems to ends up 
> doing my G5 builds for me:
>> I have to rebuild PARI.  It didn't build with GMP extensions and as  
>> soon as I tried, it failed.  I had to modify get_cc to set the -m64  
>> compiler flag.  I also had to modify get_gmp so that it would link  
>> correctly.

1) Does

  env CC="gcc -m64" ./Configure --with-gmp

do the trick ?

2) If so, gcc apparently defaults to 32bit builds on this machine but
libgmp was compiled with gcc -m64 ?

(Have no experience with G5's yet...).


Karim Belabas                  Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1          Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~belabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]