Command line for Ada version?
-
12-11-2019 - |
Question
I am looking for a command line to check for the version of my Ada installation. Any help ?
Solution
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
.
OTHER TIPS
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow