https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98805
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu.org --- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- On macOS Big Sur Intel, Homebrew builds gcc-10 from the 10.2 release sources (https://ftp.gnu.org/gnu/gcc/gcc-10.2.0/gcc-10.2.0.tar.xz) with one extra patch at https://raw.githubusercontent.com/Homebrew/formula-patches/7baf6e2f/gcc/bigsur.diff (which is basically Iain's commit at https://github.com/iains/gcc-darwin-arm64/commit/556ab512) The compiler is build with: ``` ../configure --build=x86_64-apple-darwin20 --prefix=/usr/local/Cellar/gcc/10.2.0_2 --libdir=/usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10 --disable-nls --enable-checking=release --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-10 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --with-pkgversion='Homebrew GCC 10.2.0_2' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --disable-multilib --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk SED=/usr/bin/sed ``` We've always done it that way, the only recent change to that is pretty much that we use the unversioned symlink /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk instead of the versioned directory (/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk) because since Big Sur, Apple is labelling their SDK with minor version numbers and that breaks for people who don't have the same exact version of the command-line developer tools.