comp.lang.ada
 help / color / mirror / Atom feed
* Beginner problem with GNAT.
@ 1996-04-27  0:00 Mike Young
  1996-04-28  0:00 ` Tom Griest
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Young @ 1996-04-27  0:00 UTC (permalink / raw)



Hi. I'm getting the following gnatbind errors using GNAT 3.01a for 
Win32 on Windows NT 3.51. Can somebody help me figure out what is 
wrong? I'm puzzled by the message that says I need to recompile the 
files that gnatmake just compiled.

Things worked until Emacs helped me loss a file or two. I've tried 
moving the source files to a new directory to recompile, with no 
improvement. Also, I've compiled everything manually (gcc -c ...) 
with no improvement.

Thanks.

I:\foo\cjava\ajava>gnatmake jdump
gcc -c jdump.adb
gcc -c javaclass-types-classfile.adb
gcc -c javaclass-types-numbers.adb
gnatbind jdump.ali
error: "jdump.adb" must be recompiled 
("javaclass-types-classfile.ads" has been modified)
error: "javaclass-types-classfile.adb" must be recompiled 
("javaclass-types-classfile.ads" has been modified)
error: "javaclass-types-numbers.adb" must be recompiled 
("javaclass-types-numbers.ads" has been modified)
gnatmake: *** bind failed.
--




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

* Re: Beginner problem with GNAT.
  1996-04-27  0:00 Beginner problem with GNAT Mike Young
@ 1996-04-28  0:00 ` Tom Griest
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Griest @ 1996-04-28  0:00 UTC (permalink / raw)
  Cc: mikey


In article <3182B003.158B@mcs.com> Mike Young <mikey@mcs.com> writes:
>Hi. I'm getting the following gnatbind errors using GNAT 3.01a for 
>Win32 on Windows NT 3.51. Can somebody help me figure out what is 
>wrong? I'm puzzled by the message that says I need to recompile the 
>files that gnatmake just compiled.

This has always been a puzzle for me too, but my guess is that the
true source of your problem may be due to a bug in the MS libc library 
"stat" function that returns a different time stamp for files now that 
day light savings time is active.  :-(

Make sure you get fix4 at:  ftp.cs.yale.edu/pub/gnat/updates/gnat301a

We have switched from using the MS libc stat function and are now using
the native NT GetFileTime function which seems to work nicely.  This
will show up in the next release, and hopefully put an end to
timezone foolishness.

-Tom




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

end of thread, other threads:[~1996-04-28  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-27  0:00 Beginner problem with GNAT Mike Young
1996-04-28  0:00 ` Tom Griest

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