سؤال

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top