Can't build Ada

Paul Koning paulkoning@comcast.net
Sat Nov 26 18:02:20 GMT 2022



> On Nov 26, 2022, at 11:52 AM, Iain Sandoe <idsandoe@googlemail.com> wrote:
> 
> 
> 
>> On 26 Nov 2022, at 16:42, Arnaud Charlet <charlet@adacore.com> wrote:
>> 
>> 
>>>> The current statement  (https://gcc.gnu.org/install/prerequisites.html) is:
>>>> 
>>>> GNAT
>>>> In order to build GNAT, the Ada compiler, you need a working GNAT compiler (GCC version 5.1 or later).
>>>> 
>>>> so, if 5.1 is not working, then perhaps a PR is in order.
>>> 
>>> I will do that, if the "shell in Rosetta" thing doesn't cure the problem.
>> 
>> You won’t need to, the version of gnat you are using is recent enough, you need to follow Ian’s instructions to the letter. The Ada 2022 code is a red herring and is only problematic when you build a cross with a non matching native, not when building a native compiler.
> 
> One additional question/point - which branch are you trying to build the cross from?
> 
> I am sure it will not work from upstream master.
> 
> Unfortunately, owing to lack of free time… aarch64-darwin is not yet completely ready to upstream, so folks are using the development branch here: https://github.com/iains/gcc-darwin-arm64 (which I will update later, based on the master version mentioned earlier; if testing goes OK).
> 
> Iain.

That's the branch I'm using.

	paul



More information about the Gcc mailing list