From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e3613319caa06b62 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!grolier!news.enst.fr!not-for-mail From: Jerome Hugues Newsgroups: comp.lang.ada Subject: Re: how to get the compile time of an ada program with gnat Date: Thu, 19 Jul 2007 10:34:50 +0000 (UTC) Organization: ENST, France Message-ID: References: <469f2c81$0$25909$ba4acef3@news.orange.fr> NNTP-Posting-Host: antigone.enst.fr X-Trace: news.enst.fr 1184841290 35485 137.194.160.64 (19 Jul 2007 10:34:50 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 19 Jul 2007 10:34:50 +0000 (UTC) User-Agent: slrn/0.9.7.3 (SunOS) Xref: g2news1.google.com comp.lang.ada:16515 Date: 2007-07-19T10:34:50+00:00 List-Id: In article <469f2c81$0$25909$ba4acef3@news.orange.fr>, frank singhoff wrote: > > > hello the list, > > does somebody know how we can get the compile time of an > ada program compiled with gnat gpl ?? You have in GNAT.Source_Info some information for the equivalent of the __FILE__ and __LINE__ C macros, but unfortunately not for __DATE__ or __TIME__ :( Not you also have this information in the .ali file, but not as a exported symbol, AFAICT > is these an ada gnat package which provides such a service, or should i do > it > which a script/makefile .... We use some info from SVN and configure to do this in Ocarina > frank ... who is waiting for the sun at brest :-(( Hard to refrain to make any jokes on sun in Brittany ;) -- Jerome