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,91d0d8cd28bbb477 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Implementing an Ada compiler and libraries. References: <1178721451.073700.10730@y80g2000hsf.googlegroups.com> <464239b2_4@news.bluewin.ch> <20070510173440.6b5954ac@cube.tz.axivion.com> Date: Thu, 10 May 2007 19:07:24 +0200 Message-ID: <87k5vgobeb.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:6LXACmZbAiHHyRz0G7Nq1X4XUGY= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Organization: Tele2 X-Trace: DXC=Pg63JVS`1=`b?Q[L8HC[ea6`Y6aWje^Yj4;Ua;;DknecfR5FZ8SDefji9IIgDlHcac76I_f2[QN0e Xref: g2news1.google.com comp.lang.ada:15721 Date: 2007-05-10T19:07:24+02:00 List-Id: Jean-Pierre Rosen writes: > Stefan Bellon a écrit : >> Gautier wrote: >> >>> - time stamps to check need of recompilations >> >> I've always wondered about the focussing on time stamps. I think the way >> to do it would be to calculate a hash sum (md5, sha1, ...) on the token >> stream without comments. This way you wouldn't have to recompile if you >> do layout and commentary changes, and even if you touch the file, you >> don't inadvertently trigger a recompilation. >> > Gnatmake can do that (see option -m) Ah yes, I forgot... I always have -k -m in my project files... quite handy when recompiling GPS :) -- Ludovic Brenta.