Command line for Ada version?

I am looking for a command line to check the version of my Ada installation. Any help?

+5
source share
2 answers

Since you specified gccas your compiler, this gcc -x Ada --versionshould work.

Alternatively, if you use GNAT, this gnat compile --versionshould work. This command should provide you with a version GNATMAKE.

+4
source

Recommended method:, the gnatls -voutput will be as follows:

GNATLS Pro 6.3.1 (20100111-43)

or

GNATLS GPL 2010 (20100603)

to get version relationships between Pro, GPL and GCC, see here .

+4
source

All Articles