Re: Can't build Ada

2022-11-27 Thread Iain Sandoe
Hi Paul, > On 26 Nov 2022, at 18:06, Paul Koning via Gcc wrote: > >> On Nov 26, 2022, at 11:42 AM, Arnaud Charlet via Gcc 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

Re: Can't build Ada

2022-11-26 Thread Iain Sandoe
> On 26 Nov 2022, at 18:06, Paul Koning wrote: > > > >> On Nov 26, 2022, at 11:42 AM, Arnaud Charlet via Gcc 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

Re: Can't build Ada

2022-11-26 Thread Paul Koning via Gcc
> On Nov 26, 2022, at 11:42 AM, Arnaud Charlet via Gcc 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 i

Re: Can't build Ada

2022-11-26 Thread Paul Koning via Gcc
> On Nov 26, 2022, at 11:52 AM, Iain Sandoe wrote: > > > >> On 26 Nov 2022, at 16:42, Arnaud Charlet 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 compile

Re: Can't build Ada

2022-11-26 Thread Iain Sandoe
> On 26 Nov 2022, at 16:42, Arnaud Charlet 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 workin

Re: Can't build Ada

2022-11-26 Thread Arnaud Charlet via Gcc
>> 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 "sh

Re: Can't build Ada

2022-11-26 Thread Paul Koning via Gcc
> On Nov 26, 2022, at 10:58 AM, Iain Sandoe wrote: > > Hi Paul, > > I am part way through the exercise on both macOS 11 (X86) and 12 (Arm64). > > ** However, I am using gcc-7.5 as the bootstrap compiler, not gcc-5.1. I'm not using 5.1 -- I only quoted that version number because the install

Re: Can't build Ada

2022-11-26 Thread Iain Sandoe
Hi Paul, > On 26 Nov 2022, at 15:48, Paul Koning via Gcc wrote: >> On Nov 25, 2022, at 3:46 PM, Iain Sandoe wrote: >> >>> On 25 Nov 2022, at 20:13, Andrew Pinski via Gcc wrote: >>> >>> On Fri, Nov 25, 2022 at 12:08 PM Paul Koning wrote: > On Nov 25, 2022, at 3:03 PM, Andrew Pinsk

Re: Can't build Ada

2022-11-26 Thread Paul Koning via Gcc
> On Nov 25, 2022, at 3:46 PM, Iain Sandoe wrote: > > Hi Paul, > >> On 25 Nov 2022, at 20:13, Andrew Pinski via Gcc wrote: >> >> On Fri, Nov 25, 2022 at 12:08 PM Paul Koning wrote: >>> On Nov 25, 2022, at 3:03 PM, Andrew Pinski wrote: On Fri, Nov 25, 2022 at 11:59 AM Paul

Re: Can't build Ada

2022-11-25 Thread Iain Sandoe
Hi Paul, > On 25 Nov 2022, at 20:13, Andrew Pinski via Gcc wrote: > > On Fri, Nov 25, 2022 at 12:08 PM Paul Koning wrote: >> >>> On Nov 25, 2022, at 3:03 PM, Andrew Pinski wrote: >>> >>> On Fri, Nov 25, 2022 at 11:59 AM Paul Koning via Gcc >>> wrote: I'm trying to use fairly rec

Re: Can't build Ada

2022-11-25 Thread Alexandre Oliva via Gcc
On Nov 25, 2022, Paul Koning via Gcc wrote: > They don't seem to have anything to do with missing compilers, but > rather with the use of language features too new for the available > (downloadable) Gnat. The gnat1 front-end requires some of the Ada runtime (libgnat) components. They get built

Re: Can't build Ada

2022-11-25 Thread NightStrike via Gcc
On Fri, Nov 25, 2022 at 3:09 PM Paul Koning via Gcc wrote: > But in any case, how does that relate to the error messages I got? They > don't seem to have anything to do with missing compilers, but rather with the > use of language features too new for the available (downloadable) Gnat. General

Re: Can't build Ada

2022-11-25 Thread Iain Sandoe
Hi Paul, > On 25 Nov 2022, at 20:08, Paul Koning via Gcc wrote: > >> On Nov 25, 2022, at 3:03 PM, Andrew Pinski wrote: >> >> On Fri, Nov 25, 2022 at 11:59 AM Paul Koning via Gcc wrote: >>> >>> I'm trying to use fairly recent GCC sources (the gcc-darwin branch to be >>> precise) to build Ada

Re: Can't build Ada

2022-11-25 Thread Andrew Pinski via Gcc
On Fri, Nov 25, 2022 at 12:08 PM Paul Koning wrote: > > > > > On Nov 25, 2022, at 3:03 PM, Andrew Pinski wrote: > > > > On Fri, Nov 25, 2022 at 11:59 AM Paul Koning via Gcc > > wrote: > >> > >> I'm trying to use fairly recent GCC sources (the gcc-darwin branch to be > >> precise) to build Ada,

Re: Can't build Ada

2022-11-25 Thread Paul Koning via Gcc
> On Nov 25, 2022, at 3:03 PM, Andrew Pinski wrote: > > On Fri, Nov 25, 2022 at 11:59 AM Paul Koning via Gcc wrote: >> >> I'm trying to use fairly recent GCC sources (the gcc-darwin branch to be >> precise) to build Ada, starting with the latest (2020) release of Gnat from >> Adacore. > >

Re: Can't build Ada

2022-11-25 Thread Andrew Pinski via Gcc
On Fri, Nov 25, 2022 at 11:59 AM Paul Koning via Gcc wrote: > > I'm trying to use fairly recent GCC sources (the gcc-darwin branch to be > precise) to build Ada, starting with the latest (2020) release of Gnat from > Adacore. Are you building a cross compiler or a native compiler? If you are bu

Can't build Ada

2022-11-25 Thread Paul Koning via Gcc
I'm trying to use fairly recent GCC sources (the gcc-darwin branch to be precise) to build Ada, starting with the latest (2020) release of Gnat from Adacore. It fails for several reasons. One is that two source files use [ ] for array initializer brackets when ( ) is apparently supposed to be