
aarch64-apple-darwin22Ĭhecking whether to place generated files in the source directory. aarch64-apple-darwin22Ĭhecking target system type. aarch64-apple-darwin22Ĭhecking host system type.

Library/Developer/CommandLineTools/usr/bin/make all-recursiveĬhecking build system type. Library/Developer/CommandLineTools/usr/bin/make all-am Then I retry make configure-stage1-gcc: /Library/Developer/CommandLineTools/usr/bin/make all-recursive Supported LTO compression algorithms: zlib zstd configure -prefix=/opt/homebrew/opt/gcc -libdir=/opt/homebrew/opt/gcc/lib/gcc/current -disable-nls -enable-checking=release -with-gcc-major-version-only -enable-languages=c,c++,objc,obj-c++,fortran -program-suffix=-12 -with-gmp=/opt/homebrew/opt/gmp -with-mpfr=/opt/homebrew/opt/mpfr -with-mpc=/opt/homebrew/opt/libmpc -with-isl=/opt/homebrew/opt/isl -with-zstd=/opt/homebrew/opt/zstd -with-pkgversion='Homebrew GCC 12.2.0' -with-bugurl= -with-system-zlib -build=aarch64-apple-darwin22 -with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk I think I use the wrong value on build parameter, so I check gcc12 by gcc-12 -v: Using built-in specs.ĬOLLECT_LTO_WRAPPER=/opt/homebrew/Cellar/gcc/12.2.0/bin/./libexec/gcc/aarch64-apple-darwin22/12/lto-wrapperĬonfigured with.

Then error occurs: *** Configuration aarch64-apple-darwin22 not supported with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk

Following official document, I download source code using git, configure and make.įor configure, I refer to the way of Homebrew configure gcc-12 on link. I want to build gcc-13 on my M1 MacBook Pro.
