automake-patches
[Top][All Lists]
Advanced

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

RE: Automake,cygwin: 'make clean' with libtool wrappers...


From: Robert Collins
Subject: RE: Automake,cygwin: 'make clean' with libtool wrappers...
Date: Sat, 4 May 2002 13:23:57 +1000

> -----Original Message-----
> From: Tom Tromey [mailto:address@hidden 
> Sent: Saturday, May 04, 2002 4:13 AM
> To: Charles Wilson
> Cc: Robert Collins; address@hidden
> Subject: Re: Automake,cygwin: 'make clean' with libtool wrappers...
> 
> 
> >>>>> "Charles" == Charles Wilson <address@hidden> writes:
> 
> Robert> What you need to patch is libtool - see mode=clean.
> 
> Charles> Perhaps -- but that STILL would require automake to 
> be patched.
> 
> Yes.  If `libtool --mode=clean' is the best thing to do 
> moving forward, then let's change automake to use that.

I'm recalling the recent config.status --clean discussion that went on
:}.
 
> Charles> However, I DID think about doing that ^^^.  Unfortunately, 
> Charles> libtool --mode=clean doesn't work with executables 
> and wrapper 
> Charles> scripts and the .libs/ subdirectory; although it may 
> work okay 
> Charles> when cleaning up libraries.
> 
> Robert, how hard is it to fix this in libtool?

Frankly, libtool sucks. It's a great tool, and I use it all the time.
However the internals could be much much cleaner - is it Bruce Korb that
is working on a binary version? There's duplication (two copies of at
least one function, varied only by trivia), little or no caching (the
entire script has to run each invocation, where a saved subscript (ie
libtool-clean) could preserve whatever gets calculated...

So finding the correct area in libtool, and then cleaning it, will take
a bit of time. It's not hard per se, just time consuming. I'll make time
in the next week or 3 to review this.
 
Rob



reply via email to

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