I wrote (in a message from Friday 5)

 > inter-dependencies are both good and bad. 
 > It's a good thing to list them at build time, It helps finding some
 > kind of conflicts. 
 > OTOH, one should not rely on them to prune the list of libraries used
 > to link an executable. First, this will break on static only build
 > (yes there are still systems without shared libs these days), and then
 > it can cause weird failures at run-time if the linker does not walk
 > the full dependencies. 
 > 
 > So the *Lib.tmpl should be fixed to describe correct dependencies (on
 > Darwin it's strictly required) and Imakefiles should list the full
 > dependencies too. 
 > 

Hmm I forgot one point: sometimes you don't want to specify full
dependencies for a library since there can be 2 differents libs
capable to satisfy the dependency and you want to chose at application
link time. 

The most current exemple is -lc_r vs -lc (or -lXThrstubs vs
-lpthreads) on some systems for threaded vs non-threaded applications.

                                        Matthieu
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to