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,206547e68a60b0e7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Vinzent 'Gadget' Hoefler Newsgroups: comp.lang.ada Subject: Re: How to cache output of the compiler aka ccache Date: Fri, 18 Mar 2005 15:08:59 +0000 Message-ID: <2025459.1b53Xg3BXS@jellix.jlfencey.com> References: <1111085641.211767.56950@f14g2000cwb.googlegroups.com> <7f8cfe1b.0503172258.2ef3b9f6@posting.google.com> <21369831.btob92lcNg@jellix.jlfencey.com> <8764zpggo8.fsf@deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net J4MHjefsDLy2dNFfxe1+IgX8IG/fqotiNwf/7CR+P1eO23qLw/ X-Phone: +41 62 961 13 52 X-Mood: Beautiful day to take over the world. Xref: g2news1.google.com comp.lang.ada:9600 Date: 2005-03-18T15:08:59+00:00 List-Id: Florian Weimer wrote: > * Vinzent Hoefler: > >> It obviously fails to recompile missing dependencies. From my tests >> it also seems to ignore file dates. So I'd say, the "Java Build >> System" is non-existent. > > It's not specified by the standard. That's as good as "non-existent". :) > Sun's implementation optionally > recompiles out-of-date dependencies, though. Well, yes. I've tested some more, and from those tests it seems, Sun's "javac" recompiles dependencies if they are at most one level deep (or - to put it another way - direct dependencies of the file being compiled). It even does that recursively, so if I delete /all/ .class files it recompiles everything, of course. But if just *some* .class file somewhere in the middle of the hierarchy gets changed, it simply failes to detect that change. That's very different from what an Ada compiler is - by definition - required to do. Vinzent. -- worst case: The wrong assumption there actually is one.