Sorry,
I tried the tutorial01, it failed withn not found the libgccjit library, then I tried to install the library with 
homebrew, whig said it was there, the I god into that a reintall loader the X86 instad of the ARM for 
my M1 iMac,
so indtil futher, I give up, and will not attemp to compile 28.0.50 and just run on 27.2…..


mvh
Niels

Den 3. jun. 2021 kl. 10.12 skrev Andrea Corallo <akrl@sdf.org>:

Eli Zaretskii <eliz@gnu.org> writes:

From: Niels Søndergaard <nisoni@algon.dk>
Date: Thu, 3 Jun 2021 08:51:06 +0200
Cc: Niels Søndergaard <nisoni@algon.dk>,
48804@debbugs.gnu.org

The configure sends a link, but I can’t find the source to compile out of that, neither can I understand, what
the “smoke” test is.

The link shows a source of a C program whose first line says:

 Smoketest example for libgccjit.so

I tried to follow the instruktions, but god lost underway….

You mean, the instructions on the URL how to compile the test program?
They are quite simple: 2 shell commands.

Anyway, I've modified that error message to say this instead:

 The installed libgccjit failed to compile and run a test program using
 the libgccjit library; see config.log for the details of the failure.
 The test program can be found here:
 <https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.

Just a small note, the smoke test we run from the configure is not
exactly the one of the link as we just compile a function returning an
integer.  Needless to say that most certainly if one works the other
will too.

 Andrea