From: Gautier <gautier@fakeaddress.nil>
Subject: Re: Enumeration type - GNAT 3.15p bug?
Date: Tue, 29 Aug 2006 03:17:17 +0200
Date: 2006-08-29T03:17:17+02:00 [thread overview]
Message-ID: <44f39589$1_5@news.bluewin.ch> (raw)
In-Reply-To: <1156773279.708849.196800@m73g2000cwd.googlegroups.com>
Gerd:
> OK, you're right. Removing the -S did it.
>
> Nevertheless I would expect that either AdaGIDE or gnatmake (or someone
> else) *stop* after compile instead of running the linker although GNAT
> didn't generate code. Otherwise it's confusing.
That's right, and it should be gnatmake's job: since it figures out what
source must be recompiled according to time-stamps, it should verify that an
up-to-date object has effectively been produced or at least not try to go
further when "-S" has been passed.
But maybe there is some reason behind current behaviour; there is the
following gnatmake option (in 3.15p too):
-s Recompile if compiler switches have changed
Of course it wouldn't solve the problem if there is a "-S" around!
Maybe it is solved in more recent GNATs. If not, it could be useful to write
to report@gnat.com about it. An option in gcc for creating .o but leaving the
.s file (which is created anyway as temp file) would be optimal.
Not waiting that gnat or gcc solves it, it could be also added to AdaGIDE
(I'll take a look :-) ).
______________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm
NB: For a direct answer, e-mail address on the Web site!
prev parent reply other threads:[~2006-08-29 1:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-17 11:49 Enumeration type - GNAT 3.15p bug? Gerd
2006-08-17 12:03 ` Georg Bauhaus
2006-08-17 13:19 ` Gerd
2006-08-17 18:15 ` Jeffrey R. Carter
2006-08-17 12:46 ` Dmitry A. Kazakov
2006-08-17 13:42 ` Gerd
2006-08-17 18:11 ` Jeffrey R. Carter
2006-08-17 18:34 ` Gautier
2006-08-17 18:37 ` Gautier
2006-08-18 8:25 ` Gerd
2006-08-19 2:53 ` Gautier
2006-08-19 20:50 ` Gerd
2006-08-20 9:27 ` Gautier
2006-08-28 13:54 ` Gerd
2006-08-29 1:17 ` Gautier [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox