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,d92cd733dc93e4e4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Gnat 3.15p @ win-2000 recompiles _all_ internal packages ... Date: Thu, 01 Jun 2006 07:41:12 +0100 Organization: Pushface Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1149144072 21312 62.49.19.209 (1 Jun 2006 06:41:12 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 1 Jun 2006 06:41:12 +0000 (UTC) Cancel-Lock: sha1:HmPrte7bUhdypR28iO+7+I/ca6U= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news2.google.com comp.lang.ada:4634 Date: 2006-06-01T07:41:12+01:00 List-Id: M E Leypold 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.