gfortran 11-experimental for ARM Big Sur (macOS 11.0)
Summary
This binary build of gfortran and GCC is an experimental version based on GCC 11, by Iain Sandoe, for Apple Silicon machines.
Two files are provided:
gfortran-ARM-11.0-BigSur.tar.xz
is an archive, to be unpacked under/usr/local
gfortran-ARM-11.0-BigSur.dmg
is a user-friendly installer
Details
The compiler is built from sources at this revision: iains/gcc-darwin-arm64@3069f0e
These packages were built with Xcode command-line tools 12.3 (beta), and should work with version 12.2 or later. They expect the SDK to be available under /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
$ /usr/local/gfortran/bin/gfortran -v
Using built-in specs.
COLLECT_GCC=/usr/local/gfortran/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/aarch64-apple-darwin20/11.0.0/lto-wrapper
Target: aarch64-apple-darwin20
Configured with: ../../gcc-darwin-arm64/configure --prefix=/usr/local/gfortran --with-gmp=/Users/fx/build/deps --with-isl=/Users/fx/build/deps --enable-languages=c,c++,fortran,objc,obj-c++ --build=aarch64-apple-darwin20 --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20201114 (experimental) (GCC)