From: Charly <carl.weierstrass@googlemail.com>
Subject: Re: GNAT Community 2019 is here!
Date: Sun, 9 Jun 2019 10:43:28 -0700 (PDT)
Date: 2019-06-09T10:43:28-07:00 [thread overview]
Message-ID: <f8ec209e-4d73-4212-9dad-a83ff062a77c@googlegroups.com> (raw)
In-Reply-To: <qd8fa2$127c$1@gioia.aioe.org>
Hi,
unfortunately GNAT Community 2019 ist no longer able to compile code of old Ada Versions:
$ gnatmake main.adb -gnat05
gcc -c -gnat05 main.adb
gnat1: invalid switch: -gnat05
gnatmake: "main.adb" compilation error
$ gnatmake main.adb -gnat2005
gcc -c -gnat2005 main.adb
gnat1: invalid switch: -gnat2005
gnatmake: "main.adb" compilation error
The same happens for -gnat95 and -gnat83
Only -gnat12 and -gnat2012 work:
$ gnatmake main.adb -gnat12
gcc -c -gnat12 main.adb
gnatbind -x main.ali
gnatlink main.ali
$ gnatmake main.adb -gnat2012
gcc -c -gnat2012 main.adb
gnatbind -x main.ali
gnatlink main.ali
Also the pragma Ada_2005 does not work:
gnatmake main.adb
gcc -c main.adb
main.adb:1:01: warning: pragma "Ada_2005" ignored
gnatbind -x main.ali
gnatlink main.ali
Sincerely
Charly
next prev parent reply other threads:[~2019-06-09 17:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-05 13:15 GNAT Community 2019 is here! Nasser M. Abbasi
2019-06-09 17:43 ` Charly [this message]
2019-06-09 19:33 ` Simon Wright
2019-06-09 19:39 ` Dmitry A. Kazakov
2019-06-09 20:24 ` gautier_niouzes
2019-07-29 0:05 ` Norman Worth
2019-06-09 22:13 ` Fedja Beader
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox