gfortran 12-experimental for ARM, macOS 12 (Monterey)
This binary build of gfortran and GCC is an experimental version based on the future GCC 12, by Iain Sandoe, for Apple Silicon machines. This is an updated version of my previous experimental release, targeting this time macOS 12 (Monterey).
This is a signed and notarized installer.
Details
The compiler is built from sources at this revision: iains/gcc-darwin-arm64@e73ea2d
These packages were built with Xcode command-line tools 13.2, and should work with version 13.2 or later. They expect the macOS 12 SDK to be available under /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
(which should resolve some earlier issues about the exact naming of the SDK directory).
$ gfortran -v
Using built-in specs.
COLLECT_GCC=./package/usr/local/gfortran/bin/gfortran
COLLECT_LTO_WRAPPER=/Users/fx/devel/gcc/build_package/package/usr/local/gfortran/bin/../libexec/gcc/aarch64-apple-darwin21/12.0.0/lto-wrapper
Target: aarch64-apple-darwin21
Configured with: ../gcc/configure --prefix=/usr/local/gfortran --with-gmp=/Users/fx/devel/gcc/build_package/deps --enable-languages=c,c++,fortran,objc,obj-c++ --build=aarch64-apple-darwin21 --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20211218 (experimental) (GCC)