Command line for Ada version?

4.3k views Asked by At

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

2

There are 2 answers

5
Shark8 On BEST ANSWER

Since you listed gcc as your compiler this gcc -x Ada --version should work.

Alternatively, if you're using GNAT, gnat compile --version should work. This command should give you the version of GNATMAKE.

0
Rommudoh On

Recommended way is: gnatls -v, output would be like this:

GNATLS Pro 6.3.1 (20100111-43)

or:

GNATLS GPL 2010 (20100603)

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