# Pastebin WhqTTd5p carterschonwald@CarterHydra ~/D/ghc-9.2.6-aarch64-apple-darwin [1]> ./configure --prefix=/Users/carter/.ghc_install/ghc_9.2.6_hq --disable-ld-override CC=(which gcc-12) CPP=(which gcc-12) checking build system type... aarch64-apple-darwin21.6.0 checking host system type... aarch64-apple-darwin21.6.0 checking target system type... aarch64-apple-darwin21.6.0 Build platform inferred as: aarch64-apple-darwin Host platform inferred as: aarch64-apple-darwin Target platform inferred as: aarch64-apple-darwin GHC build : aarch64-apple-darwin GHC host : aarch64-apple-darwin GHC target : aarch64-apple-darwin LLVM target: arm64-apple-darwin checking for path to top of build tree... /Users/carter/Downloads/ghc-9.2.6-aarch64-apple-darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for gsed... sed checking for python3... /usr/bin/python3 checking Xcode version... 13.3.1 configure: Xcode version component 1: 13 configure: Xcode version component 2: 3 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /opt/homebrew/bin/gcc-12 accepts -g... yes checking for /opt/homebrew/bin/gcc-12 option to enable C11 features... none needed checking how to run the C preprocessor... /opt/homebrew/bin/gcc-12 configure: error: in `/Users/carter/Downloads/ghc-9.2.6-aarch64-apple-darwin': configure: error: C preprocessor "/opt/homebrew/bin/gcc-12" fails sanity check See `config.log' for more details