On Jun 06 2022, Roger Sayle wrote: > Hi Andreas, >> > gcc -std=gnu99 -c -g -gnatpg -gnatwns -gnata -W -Wall -I- -I. >> > -Iada/generated -Iada -I../../gcc/gcc/ada ../../gcc/gcc/ada/osint.adb >> > -o ada/osint.o >> > osint.adb:438:31: "strlen" not declared in "CRTL" >> > osint.adb:441:14: "strncpy" not declared in "CRTL" >> > osint.adb:675:21: "strlen" not declared in "CRTL" >> > osint.adb:728:16: "Open_Append" is undefined >> > osint.adb:1108:41: "int64" not declared in "CRTL" >> > osint.adb:3144:28: "strlen" not declared in "CRTL" >> > osint.adb:3147:11: "strncpy" not declared in "CRTL" >> >> What's your bootstrap compiler? > > GNAT 4.8.5 20150623 (Red Hat 4.8.5-44)
That's very much out of date. In order to build GNAT, the Ada compiler, you need a working GNAT compiler (GCC version 5.1 or later). -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."