GNU make to consider files checksum

2008-04-12 Thread Giuseppe Scrivano
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

Re: GNU make to consider files checksum

2008-04-12 Thread Giuseppe Scrivano
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

Re: GNU make to consider files checksum

2008-08-28 Thread Giuseppe Scrivano
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 ___

Re: GNU make to consider files checksum

2009-09-28 Thread Giuseppe Scrivano
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

Re: GNU make to consider files checksum

2009-09-29 Thread Giuseppe Scrivano
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