Hello,
I could find on this ML archives only a thread about this subject: to
consider the file checksum instead of the timestamp.
Other systems like scons already support this feature and it would be
great to have it for GNU Make too.
I attached a patch against the current CVS to add --use-checks
2008/4/12, Eli Zaretskii <[EMAIL PROTECTED]>:
> Thanks. (I'm not the head maintainer, so please wait for Paul and
> others to respond.)
>
> > +int
> > +compute_checksum(struct file *new)
> > +{
> > + int checksum = 0;
> > + FILE *f;
> > + char buffer [4096];
> > +
> > + f = fopen (new
Eli Zaretskii wrote:
> Thanks. (I'm not the head maintainer, so please wait for Paul and
> others to respond.)
I sent a message to this mailing list some months ago but I still didn't
get an answer. Doesn't GNU Make want to consider files checksum in
addition to mtime?
Giuseppe
___
Hi Philip,
it looks like a good idea. Do you think it worths to be discussed with
automake hackers?
Cheers,
Giuseppe
Philip Guenther writes:
> On Fri, Apr 11, 2008 at 2:45 PM, Giuseppe Scrivano wrote:
>> I could find on this ML archives only a thread about this subject: to
>&g
Philip Guenther writes:
> (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