I am looking for a command line to check for the version of my Ada installation. Any help ?
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
.
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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.