> -----Original Message-----
> From: Havoc Pennington [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 6:36 PM
> To: Bernard Dautrevaux
> Cc: Alexandre Oliva; Eric Lemings; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Re: Libtool and Pkg-Config
> 
> 
> 
> Bernard Dautrevaux <[EMAIL PROTECTED]> writes:  
> > A necessary (and sufficient AFAICT) condition would be 
> that, given the fact
> > that libtool remember library dependencies, one use a 
> tsort-like tool to
> > topologically sort all the libraries, while detecting loops in the
> > dependencies, and emitting every loop twice.
> 
> So are you going to implement this in shell? ;-)

Err... Not sure it is possible :-) 

A tsort command is standard in (all?) unices, but lacks the cycle unrolling;
at least the Solaris one detects the cycles, but is not able to unroll them.
Using th error message MAY allow to uroll the cycle (and repeating th ewhole
ordered list one for each cycle should also work) but I'm afraid "tsort" is
not part of the allowed tools for libtool 8-0

Of course implementing in C is no problem, and I can provide the
corresponding source code, but this mean compiling it on the build
machine...

Regards,

        Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:    +33 (0) 1 47 68 80 80
Fax:    +33 (0) 1 47 88 97 85
e-mail: [EMAIL PROTECTED]
                [EMAIL PROTECTED]
-------------------------------------------- 

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to