comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Gnat 3.15p @ win-2000 recompiles _all_ internal packages ...
Date: Thu, 01 Jun 2006 07:41:12 +0100
Date: 2006-06-01T07:41:12+01:00	[thread overview]
Message-ID: <m2lksh4buf.fsf@grendel.local> (raw)
In-Reply-To: oislmvgif7.fsf@hod.lan.m-e-leypold.de

M E Leypold <development-2006-8ecbb5cc8a-REMOVETHIS@m-e-leypold.de> writes:

> Actually that is not what happens: Under Debian it works as I
> expected, but under Windows a lot of internal packages are recompiled
> to project-local *.ali and *.o files. It is almost as if gnatmake
> can't see the packages in .../lib/adalib/.

There was a problem with GNAT 3.16a1 on Windows which might also apply
to 3.15p; it had the amusing symptom that compilations with the -m
(minimal recompile) option ran much more slowly if the compiler was
installed in non-daylight saving time. So the simple fix was to set
the date to July, reinstall, then set the date back.

The problem was with apparent file timestamps; the installation
process ended up with the file timestamp being an hour out from the
.ali timestamp.

I think you might be able to just compile Ada.Containers with -gnatg
(-gnatpg? both?) and make the .ali files read-only; put the source and
object/ali files in an adainclude/adalib directory pair somewhere
separate from your main build.



  parent reply	other threads:[~2006-06-01  6:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-27 23:24 Gnat 3.15p @ win-2000 recompiles _all_ internal packages M E Leypold
2006-05-28  7:54 ` Gautier
2006-05-28  8:02 ` Gautier
2006-05-29 22:30   ` M E Leypold
2006-05-28 15:49 ` Ludovic Brenta
2006-05-29 22:38   ` M E Leypold
2006-06-01  6:41 ` Simon Wright [this message]
2006-06-02 16:19   ` M E Leypold
2006-06-02 19:54     ` Simon Wright
2006-06-02 20:06   ` Ian Sharpe
2006-06-03 15:06     ` M E Leypold
replies disabled

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