Subject: Re: rebuilding stale .depend files
To: Simon J. Gerraty <sjg@crufty.net>
From: None <toddpw@toddpw.org>
List: tech-toolchain
Date: 11/04/2003 19:18:35
> >> On Sun, Nov 02, 2003 at 11:22:26PM +0000, David Laight wrote:
> >> > It gets rather anoying when a build fails because the old
> >> > .depend file references a now deleted file.
>
> [bit of handwaving here]
> It might be preferable to add a new .include method to make
> that says in effect - any dependency listed in this file which
> does not exist and cannot be "made" should be ignored.
>
> Then you could pretty safely use gcc -MD etc to generate dependencies
> as you build and gather them into .depend (or better allow
> .include *.d) and completely skip the extra time spent doing depends.
>
> --sjg
mmmm. You'd be surprised how much time is spent on slow machines (eg. sun3)
just doing preprocessing. Unifying the depend and compile preprocessing
would be a tidy gain.
--
Todd Whitesel
toddpw @ toddpw.org