Skip to content
Prev 13370 / 15075 Next

Link-Time Optimization (LTO)

On 15/07/2020 09:50, Jeroen Ooms wrote:
Way off topic for R-sig-mac, but it is under discussion for Windows once 
all the planned LTO changes are in.

A minor point which is relevant here: the recommended gfortran 
distribution for macOS (which is from GCC 8.2) contains gcc and g++.  So 
Mac users could try that to get C/Fortran consistency checks.  However, 
only much later versions are compatible with Catalina's SDK 
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835), and from trying on 
High Sierra it looks like Apple's linker does not understand GCC's LTO 
format.