Re: GNU make to consider files checksum

From:

Philip Guenther

Subject:

Re: GNU make to consider files checksum

Date:

Mon, 28 Sep 2009 15:00:53 -0700

On Mon, Sep 28, 2009 at 11:05 AM, Giuseppe Scrivano <address@hidden> wrote:
> it looks like a good idea. Do you think it worths to be discussed with
> automake hackers?
I'm not actually convinced that this checksumming is a good idea,
mainly because I'm not convinced this is enough of a problem. The
point of my message was just that this problem *can* be solved at the
makefile level. Attacking it by changing automake sounds practical
and probably a faster way to a solution, though I would prefer it to
be optional even there.
(Have you measured how often this sort of thing would save
recompilation and/or relinking and how much time it would save then?
What's the comparison to how much time would be spent calculating the
checksums? If it saves a minute once every 100 compiles but costs a
second in each of those, then it's a net loss...)
Philip Guenther