[Rd] config.site settings for M3 Mac typo in manual?
Prof Brian Ripley
r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Mon May 20 13:10:02 CEST 2024
On 20/05/2024 09:06, Duncan Murdoch wrote:
> I've just upgraded to an M3 Mac laptop, and I'm working through getting
> the right configure settings to build R.
>
> The Installation and Administration manual says to have this in
> config.site:
>
> FFLAGS="-g -O2 -mmacos-version-min=11.0"
> FCFLAGS="-g -O2 -mmacos-version-min=11.0"
>
> but those give an error on my system, with it suggesting the FFLAGS and
> FCFLAGS version option should be -mmacosx-version-min=11.0. I don't
> know if that's a typo or a change.
-mmacos-version-min= is the current Apple option. However, the gfortran
build recommended in the manual is quite old and this has apparently
differed by GCC version (and is not documented in the 'man gfortran' I
have).
I'll change the manual to mention both forms, and that it is only
sometimes needed (not on my current setup).
--
Brian D. Ripley, ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
More information about the R-devel
mailing list