[Top][All Lists]
[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:27:43 +1000 |
> -----Original Message-----
> From: Charles Wilson [mailto:address@hidden
> Sent: Saturday, May 04, 2002 7:29 AM
> 2) The presence of 'foo' in *_PROGRAMS could lead to six
> different files
> being deleted. That's counter-intuitive. Are you sure that all of
> those six files are REALLY generated by libtool? What if
> they are NOT
> libtool-generated?
>
> A) Sure, that's a possibility. But not very likely. Unix
> platforms are
> not going to use ".exe" on anything.
Unless the users are building for WINE.
> 3) It's ugly. 'libtool --mode=clean' is much better.
>
> A) Sure, but this works *now*. We can change to 'libtool
> --mode=clean'
> once libtool is fixed.
What about this: change to libtool --mode=clean, and open a bug in
libtool "clean does not clean properly".
> 4) It's slow. 'rm -f $(LIST OF FILES)' is much faster.
>
> A) Yes, but you only incur this penalty for libtoolized
> packages. And
> even if 'libtool --mode-clean' worked, THAT would have to
> loop through
> the names one at a time (inside the libtool script). So the price of
> correctness is a loss of speed, regardless.
Unless we use something like xargs - i.e. 'libtool --mode-clean $(LIST
OF OBJECTS) $(LIST OF LIBRARIES)'. Libtool can be smart enough to turn
that into 'rm -f $(list-of-.o's list-of-.lo's list-of-.la's ...'.
Rob
- Automake,cygwin: 'make clean' with libtool wrappers..., Charles Wilson, 2002/05/03
- RE: Automake,cygwin: 'make clean' with libtool wrappers..., Robert Collins, 2002/05/03
- RE: Automake,cygwin: 'make clean' with libtool wrappers...,
Robert Collins <=
- RE: Automake,cygwin: 'make clean' with libtool wrappers..., Robert Collins, 2002/05/04
- Re: Automake,cygwin: 'make clean' with libtool wrappers..., Charles Wilson, 2002/05/04
- Re: Automake,cygwin: 'make clean' with libtool wrappers..., Charles Wilson, 2002/05/04
- Re: Automake,cygwin: 'make clean' with libtool wrappers..., Tom Tromey, 2002/05/06
- Re: Automake,cygwin: 'make clean' with libtool wrappers..., Alexandre Duret-Lutz, 2002/05/06
- Re: Automake,cygwin: 'make clean' with libtool wrappers..., Charles Wilson, 2002/05/06
- Re: Automake,cygwin: 'make clean' with libtool wrappers..., Alexandre Duret-Lutz, 2002/05/06
- Re: Automake,cygwin: 'make clean' with libtool wrappers..., Charles Wilson, 2002/05/06