I cannot get version 11 through Homebrew, the gewest I can get is 10.2.0_4
I’ll take out the eksport CC= from my .zshrc
and try again

mvh
Niels

Den 4. jun. 2021 kl. 16.43 skrev Alan Third <alan@idiocy.org>:

On Fri, Jun 04, 2021 at 05:15:23PM +0300, Eli Zaretskii wrote:
From: Niels Søndergaard <nisoni@algon.dk>
Date: Fri, 4 Jun 2021 16:08:10 +0200
Cc: Niels Søndergaard <nisoni@algon.dk>,
Alan Third <alan@idiocy.org>,
Konrad Podczeck <konrad.podczeck@univie.ac.at>,
48804@debbugs.gnu.org

Yes, 10.2.0_4

installed by Homebrew ben default on my machine

That's the problem: AFAIK Emacs cannot be built on macOS with GCC.
And I don't think not specifying --with-ns avoids that problem.

--with-ns is the default on macOS, so to build with GCC you need to
specify --without-ns. But that's probably not what's wanted here.

Neils, if you followed the suggestion elsewhere in this thread to set
CC, please undo that and let configure find clang.

Make sure you have the latest libgccjit installed with homebrew
(version 11?).

-- 
Alan Third