[R-SIG-Mac] Optimization flags for G5 and G4

Simon Urbanek simon.urbanek at r-project.org
Sat Apr 23 01:35:15 CEST 2005


Gene,

On Apr 22, 2005, at 4:07 PM, gene wrote:


> gcc version 4.0.0-autovect 20050128 (experimental, autovect- 
> merge-20041213)
>
> > g77 -v
> gcc version 3.4.2
>
> Should I be worried that it mentions a different gcc version?
>

Yes. You will need to download the corresponding gfortran from the  
gcc4 suite (also available on the hpc pages).


> Finally, after running ./configure --with-blas='-framework vecLib'  
> --with-lapack --with-aqua I get:
> WARNING: g77 and gcc disagree on int and double
>

gcc3 (and hence your g77) has no G5 support - you need gcc4 in order  
to get optimized binaries.

Cheers,
Simon



More information about the R-SIG-Mac mailing list