11-arm-alpha2
版本发布时间: 2020-12-19 23:56:42
fxcoudert/gfortran-for-macOS最新发布版本:14.2-sonoma(2024-08-27 19:51:43)
This binary build of gfortran and GCC is an experimental version based on GCC 11, by Iain Sandoe, for Apple Silicon machines. This is an updated version of my previous experimental release.
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: https://github.com/iains/gcc-darwin-arm64/commit/f335f738078a35dd48a0aaacbe58a0b7b11c86ce
These packages were built with Xcode command-line tools 12.3, and should work with version 12.2 or later. They expect the macOS 11 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).
$ /usr/local/gfortran/bin/gfortran -v
Using built-in specs.
COLLECT_GCC=./gfortran/bin/gfortran
COLLECT_LTO_WRAPPER=/Users/brew/FX/build_package/package/usr/local/gfortran/bin/../libexec/gcc/aarch64-apple-darwin20.2.0/11.0.0/lto-wrapper
Target: aarch64-apple-darwin20.2.0
Configured with: ../gcc-darwin-arm64/configure --prefix=/usr/local/gfortran --with-gmp=/Users/brew/FX/deps --with-isl=/Users/brew/FX/deps --enable-languages=c,c++,fortran,objc,obj-c++ --build=aarch64-apple-darwin20.2.0 --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20201205 (experimental) (GCC)
1、 gfortran-ARM-11.0-BigSur.pkg 110.95MB
2、 gfortran-ARM-11.0-BigSur.tar.xz 75MB