comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GPS Compiler options
Date: Fri, 09 Apr 2010 22:00:58 +0100
Date: 2010-04-09T22:00:58+01:00	[thread overview]
Message-ID: <m2ljcw9w8l.fsf@pushface.org> (raw)
In-Reply-To: 3e94cade-9c85-4b21-94c5-ad0bc0c8d020@5g2000yqj.googlegroups.com

Ludovic Brenta <ludovic@ludovic-brenta.org> writes:

> Simon Wright wrote on comp.lang.ada:
>> Ludovic Brenta <ludo...@ludovic-brenta.org> writes:
>> > I think gnatmake -m corrects this problem. With this option, gnatmake
>> > no longer relies on the timestamps but only on the CRC32 values in
>> > the .ali files.
>>
>> I believe that it first compares the timestamps: if the same, no change,
>> but if different, does the ali check.
>
> Exactly. And gnatmake will then do the right thing (i.e. not
> recompile) if the timestamps are different only because the clocks of
> various machines are out of sync.

Indeed. But it takes much longer, because it has to open each file; and
this is even worse over a network.

GNAT 3.16a1 on Windows had a wonderful feature where the RTS timestamps
were out by an hour unless you installed in daylight savings time! This
led to opening all the relevant RTS files, every time, every
compilation -- and to an interesting work instruction.



      reply	other threads:[~2010-04-09 21:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09 13:13 GPS Compiler options ldries46
2010-04-09 14:15 ` Ludovic Brenta
2010-04-09 14:26   ` Dmitry A. Kazakov
2010-04-09 15:10     ` sjw
2010-04-09 16:40     ` Ludovic Brenta
2010-04-09 17:20       ` Simon Wright
2010-04-09 17:46         ` Ludovic Brenta
2010-04-09 21:00           ` Simon Wright [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