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. Besides
Prof Brian Ripley
2024-May-20 11:10 UTC
[Rd] config.site settings for M3 Mac typo in manual?
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 at stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford
Maybe Matching Threads
- Problem installing MCMCpack on SPARC Solaris 10
- Unable to build R-2.10.0 and later releases on AIX 6.1
- problem building R packages on RHEL 4 Linux with Intel compilers
- Compiling R-2.8.1 on Sparc Solaris 10: libRlapack.so: symbol __vlog_: referenced symbol not found
- R-devel/Linux x64/Sun Studio 12: Problem with Matrix