> > In order to build GNAT, the Ada compiler, you need a working GNAT > > -compiler (GCC version 4.7 or later). > > +compiler (GCC version 5.1 or later). > > > > This includes GNAT tools such as @command{gnatmake} and > > @command{gnatlink}, since the Ada front end is written in Ada and > > I've now tested that, but find that it doesn't work: > > [...] > gcc -c -g -gnatpg -gnatwns -gnata -W -Wall -I- -I. -Iada/generated -Iada > -I[...]/source-gcc/gcc/ada [...]/source-gcc/gcc/ada/contracts.adb -o > ada/contracts.o
Ah, that's unfortunate. I guess on my side I'm using a version of GNAT built without assertions, so not failing on this. > So, what is actually the prerequisite GCC/Ada compiler version to be able > to build GCC 12+ GCC/Ada? I'm afraid I don't have more info at this stage, I assume GCC 6.1 would work (not tested, if someone could confirm that would be great). Arno