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,e5006bbc2c63c1db X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!news.unit0.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GPS Compiler options Date: Fri, 09 Apr 2010 22:00:58 +0100 Organization: A noiseless patient Spider Message-ID: References: <4bbf2806$0$19565$703f8584@news.kpn.nl> <13txt3b8b77p5.upyewgdx7mkh.dlg@40tude.net> <58f925ee-9d4a-4773-98f9-24fe39a7adc1@r1g2000yqj.googlegroups.com> <3e94cade-9c85-4b21-94c5-ad0bc0c8d020@5g2000yqj.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Fri, 9 Apr 2010 21:00:58 +0000 (UTC) Injection-Info: news.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="5346"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0brpgo3sZnACcQOe64P1RqlRjFp74/lg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:Wr6Iig+AQj662YeElzdIFAQZsFo= sha1:/GXgsOcq02jGDl/hzCXCUXbrXK4= Xref: g2news2.google.com comp.lang.ada:10926 Date: 2010-04-09T22:00:58+01:00 List-Id: Ludovic Brenta writes: > Simon Wright wrote on comp.lang.ada: >> Ludovic Brenta 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.