comp.lang.ada
 help / color / mirror / Atom feed
* Detecting version of installed GNAT
@ 2005-11-12 13:21 Marc A. Criley
  2005-11-12 13:59 ` Jeff Creem
  2005-11-12 14:18 ` Pascal Obry
  0 siblings, 2 replies; 8+ messages in thread
From: Marc A. Criley @ 2005-11-12 13:21 UTC (permalink / raw)


I'm looking for suggestions for programatically determining what version of 
GNAT is installed on a system.

I'd hoped there was something like "gnatmake -v" that would just display a 
version string, but gnatmake doesn't have that feature.  I could use "gcc 
-v" and then deduce from its version what version of GNAT was installed, 
but I'd prefer something more closely tied to GNAT itself.  And since some 
distributions of gnat use "gnatcc" instead of "gcc", I'd have to account 
for that as well.

It looks like I could compile a small file and then look at its .ali file, 
since that contains a compiler version string, but I'd still like to see 
something a little more direct.

Thanks for any suggestions.

-- Marc A. Criley
-- McKae Technologies
-- www.mckae.com
-- DTraq - XPath In Ada - XML EZ Out




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-11-14 13:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 13:21 Detecting version of installed GNAT Marc A. Criley
2005-11-12 13:59 ` Jeff Creem
2005-11-12 14:18   ` Ed Falis
2005-11-12 20:24     ` Simon Wright
2005-11-14  8:39       ` Alex R. Mosteo
2005-11-12 14:18 ` Pascal Obry
2005-11-12 17:42   ` Björn Persson
2005-11-14 13:28   ` Marc A. Criley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox