Bill Allombert on Mon, 17 Sep 2012 21:49:01 +0200

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

Re: Re : Cannot install PARI-GP on Mac OS 10.8

On Mon, Sep 17, 2012 at 09:27:46PM +0200, Ewan Delanoy wrote:
> > We suggest you use GCC 4.5 which is much more reliable.
>  I installed it, and I now have gcc 4.5 on my computer at
>  /opt/local/bin/gcc-mp-4.5. But how do I tell the GP installer that it must
>  use this gcc instead of the default? Is it an option to be passed to
>  ./Configure ?

No, you need to use the environment variable CC: do
CC=/opt/local/bin/gcc-mp-4.5 ./Configure --with-readline=/usr/local/

Though in your case it would be sufficient to edit the Makefile CC field.