Bill Allombert on Sun, 12 Nov 2006 22:55:12 +0100


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

Re: PowerPC G5 build


On Sat, Nov 11, 2006 at 04:34:45PM -0800, Jeffrey Stopple wrote:
> Hi,
> 
> I'm trying to build a 64 bit version of the PARI library on my G5.  I  
> set the compiler options to do this, but it says it's built a 32 bit  
> version.  (I want to eventually Configure --with-gmp, but its not  
> working and I wonder if this is why.)  Details below, any help  
> appreciated.

> stopple:/Applications/pari-2.3.0 stopple$ sudo env CC="gcc -archppc970  
> -mtune=970 -mpowerpc64" ./Configure -a

As far as I understand, you need to pass '-arch ppc64' to gcc.

Try to compile the file config/endian.c: the resulting program
should display "-". If it display 0 or 1, then you did not use
the right options.

Cheers,
Bill.