https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168
--- Comment #1 from Claudia Pellegrino <gcczilla at cpellegrino dot de> --- For those who want to run the shell script out of the box without any modifications, the following requirements apply: - You’re on Apple Silicon hardware. - You’re running macOS 11.0 Beta 1 or newer. - The gcc 10.1.0 source tarball has been extracted into a `gcc-10.1.0` subdirectory of the current working directory. - Homebrew is installed and works. The Homebrew requirement is just for convenience; the attached shell script installs gcc’s dependencies for you, including GNU make. For in-detail guidance how to install Homebrew, consult https://brew.sh and https://github.com/Homebrew/brew/issues/7857. Alternatively, install the dependencies on your own but be aware that patches are needed for Apple Silicon, which the Homebrew formulae already include.