bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mutilated stdlib.h


From: Ralf Wildenhues
Subject: Re: Mutilated stdlib.h
Date: Sun, 3 Apr 2011 10:24:36 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

* Bruno Haible wrote on Sat, Apr 02, 2011 at 06:42:46PM CEST:
> Ralf Wildenhues wrote:
> > Ideally, those rebuild rules 
> > work lazily for headers which are included often (i.e., if the contents
> > don't change, the file isn't updated).
> 
> For files that are rebuilt outside of Makefile rules, that works. For files
> that are under Makefile control, this leads to situation where after a
> complete "make", another "make" creates temporary files just to see that they
> haven't changed.

There are techniques to do lazy updates in makefiles.  They involve
stamp files and/or recursive make invocations.  Not pretty, and more
complex than the rules gnulib currently produces, but they work, and
they do not continuously need to recreate temporary files.

I agree that we should document the respective techniques and their
exact semantics and portability issues better in either of
auto{conf,make}.texi.

> So the subsequent "make" and "make check" and "make install"
> are slowed down, and "make install" does not work when run under a different
> but non-root user id.

This should not be an issue with above.

Cheers,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]