The branch is recommended for (and has been tested on) i686, x86_64 and aarch64 Darwin from Darwin9 (Mac OSX 10.5) through Darwin23 (macOS 14) (for architectures relevant to each version). It is expected to work for powerpc too but only tested with cross compilers.
The branch contains a number of back-ports from GCC master that are required for Arm64 support and recommended for other Darwin architectures. Some of these are not suitable for application to the upstream branch and therefore will only be available on the Darwin-specific branch.
The support for Aarch64 (Arm64) remains experimental but is adequate now for many programs (and self-bootstrap).
Please see README for general information on the GCC sources.
Please see the GCC 11.5 release documentation for the implementation status of core language features.
Please see gcc/config/aarch64/darwinpcs.md for a description of the macOS AArch64 (Arm64) ABI support.
Please report issues for this branch to: https://github.com/iains/gcc-11-branch/issues
The current release is GCC-11.5-darwin-r0. (July 2024)
This release:
- Includes all upstream fixes.
- All fixes in previous releases and on the GCC-12, 13 and 14 branches where that support is need for newer OS versions and Arm64.
- An adjustment to the handling of the configuration for -stdlib and the paths used.
--with-gxx-libcxx-include-dir=no
will disable the stdlib option on Darwin platforms that otherwise default to providing the option (10.8+).- If the option is unset on those platforms, the libc++ include path will be configured to internal to the compiler (in the same manner as libstdc++) allowing distributions to package a self-contained solution.
Thanks to contributors and testers.
Iain Sandoe, July 2024