I’ve seen some discussion about LLVM support for Ada. It seems to be a work in progress. How far along is the compiler? Is it at a usable state?
My outdated opinition: It is usable for experiments, but not for a production IMHO.
On the telegram chat Arno wrote this:
GNAT LLVM Pro is stable enough for industrial usage.
I talked to some people with knowledge about it, and there is an LLVM compiler being worked on.
I compiled it last night using my system llvm-14 rather than building llvm again. It now builds an RTS.
GNAT-LLVM is currently used in AdaCore’s CCG tool (translation from Ada to C) and the upcoming GNAT for Cuda.
I last worked on it in March, blog here.
I’ve been meaning to get ACATS to cooperate - the problem is first that the tools are prefixed, e.g.
llvm-gnatmake, and then that you really need
gprbuild, which the ACATS scripts don’t use.
I should add that I like messing with tools for the fun of it
Shouldn’t gprbuild just use whatever it finds? a la
ISTR you have to say
--target=llvm or similar, or
doesn’t see the compiler
It would be a gem to have the LLVM Ada compiler on macOS, imho, in a fairly good state
I’m a bit tired at the moment, but could consider this after a week’s rest
Find GCC 12.2.0 & tools for Intel silicon (will run on Apple silicon
under Rosetta) at
Release GCC 12.2.0 (x86_64) · simonjwright/distributing-gcc · GitHub
Built on High Sierra with Python 3.9 (because Apple have withdrawn 2.7
Also, the same for Apple silicon, built on Ventura but I’ve done my best
to make sure it’ll run on Monterey, at
Release GCC 12.2.0 (aarch64) · simonjwright/distributing-gcc · GitHub
I’ve marked both as pre-release, but I’m specially interested (if anyone
has some time on their hands) in a check of the aarch64 version on