Releases: fxcoudert/gfortran-for-macOS
gfortran 14.2 for Sonoma (macOS 14)
Standalone installer of GCC 14.2, including gfortran, for macOS Sonoma (macOS 14):
gfortran-ARM-14.2-Sonoma.dmg
for Apple Silicon computersgfortran-Intel-14.2-Sonoma.dmg
for Intel computers
Note:
- The compilers are built from the maintainer’s branch at https://github.com/iains/gcc-14-branch/ and include some patches over the official release
- Another distribution of GCC/gfortran for macOS, more frequently updated, is available through Homebrew
gfortran 14.1 for Sonoma (macOS 14)
Standalone installer of GCC 14.1, including gfortran, for macOS Sonoma (macOS 14):
gfortran-ARM-14.1-Sonoma.dmg
for Apple Silicon computersgfortran-Intel-14.1-Sonoma.dmg
for Intel computers
Note:
- The compilers are built from the maintainer’s branch at https://github.com/iains/gcc-14-branch/ and include some patches over the official release
- Another distribution of GCC/gfortran for macOS, more frequently updated, is available through Homebrew
gfortran 13.2 for Sonoma (macOS 14)
Standalone installer of GCC 13.2, including gfortran, for macOS Sonoma (macOS 14):
gfortran-ARM-13.2-Sonoma.dmg
for Apple Silicon computers- no installer is available at this time for Intel-based computers
Note:
- the compilers are built from the maintainer’s branch at https://github.com/iains/gcc-13-branch/ and include some patches over the official release
- another distribution of GCC/gfortran for macOS, more frequently updated, is available through Homebrew
gfortran 12.2 for Ventura (macOS 13)
Standalone installer of GCC 12.2, including gfortran, for macOS Ventura (macOS 13). Two files are available:
gfortran-ARM-12.2-Ventura.dmg
for Apple Silicon computersgfortran-Intel-12.2-Ventura.dmg
for Intel-based computers (will be coming shortly)
Note:
- the compilers are built from the maintainer’s branch at https://github.com/iains/gcc-12-branch/ and include some patches over the official release
- another distribution of GCC/gfortran for macOS, more frequently updated, is available through Homebrew
gfortran 12.1 for Monterey (macOS 12)
Standalone installer of GCC 12.1, including gfortran, for macOS Monterey (macOS 12). Two files are available:
gfortran-ARM-12.1-Monterey.dmg
for Apple Silicon computersgfortran-Intel-12.1-Monterey.dmg
for Intel-based computers
New in this release:
- the Ada compiler (GNAT) is included
- the compilers are built from the maintainer’s branch at https://github.com/iains/gcc-12-branch/ and include some patches over the official release
gfortran 11.3 for Monterey (macOS 12)
Standalone installer of GCC 11.3, including gfortran, for macOS Monterey (macOS 12). Two files are available:
gfortran-ARM-11.3-Monterey.dmg
for Apple Silicon computersgfortran-Intel-11.3-Monterey.dmg
for Intel-based computers
New in this release:
- the Ada compiler (GNAT) is included
- the compilers are built from the maintainer’s branch at https://github.com/iains/gcc-11-branch/ and include some patches over the official release
gfortran 11.2 for Monterey (macOS 12) Intel
Standalone installer of GCC 11.2, including gfortran 11.2, for macOS Monterey (macOS 12). This is for machines with Intel processor.
gfortran 11.2 for BigSur (macOS 11) Intel
Standalone installer of GCC 11.2, including gfortran 11.2, for macOS Big Sur (macOS 11). This is for machines with Intel processor.
- First signed and notarized installer. It should open without warning about “cannot be checked for malicious software”. Enjoy!
- Includes the GDC D compiler
gfortran 11.1 for BigSur (macOS 11) Intel
Standalone installer of GCC 11.1, including gfortran 11.1, for macOS Big Sur (macOS 11). This is for machines with Intel processor.
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)