From n@r@@ @end|ng |rom @t@n|ord@edu  Tue Nov  2 03:03:02 2021
From: n@r@@ @end|ng |rom @t@n|ord@edu (Balasubramanian Narasimhan)
Date: Mon, 1 Nov 2021 19:03:02 -0700
Subject: [Rd] FLIBS in MacOS M1 binary at odds with documentation for
 optional libraries/tools
Message-ID: <3764f301-bcec-d654-508c-d23a0242b521@stanford.edu>

The Mac OS M1 pre-built binary arrives with a 
/Library/Frameworks/R.framework/Resources/etc/Makevars containing

FLIBS =? -L/Volumes/Builds/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.2.0/11.0.0 -L/Volumes/Builds/opt/R/arm64/gfortran/lib/gcc -L/Volumes/Builds/opt/R/arm64/gfortran/lib -lgfortran -lemutls_w -lm

This is inconsistent with what is at said at the top of 
https://mac.r-project.org/libs-arm64/: that all binaries live in 
/opt/R/arm64, not /Volumes/Builds/opt/R/arm64.

So no one would be able to build a source package containing Fortran 
without either modifying Makevars or creating symbolic links.

-Naras


	[[alternative HTML version deleted]]



[Rd] FLIBS in MacOS M1 binary at odds with documentation for optional libraries/tools
Balasubramanian Narasimhan