From: Alan W. I. <ir...@be...> - 2002-07-20 13:52:34
|
On Sat, 20 Jul 2002, Vince Darley wrote: > A few thoughts, > > On Fri, 19 Jul 2002, Alan W. Irwin wrote: > > convenient); libplplot only links libpltcl, the normal list of dynamic > > This seesm the wrong way around. Wouldn't libpltcl link to libplplot? It works now as I have described. I think what is going on is that the Linux dynamic loader makes available all symbols of the preceding libraries in the chain to the linked libraries. So libpltcl does have symbols it needs from libplplot, but the dynloader makes those accessible even though libplplot is linked to libpltcl in the present scheme rather than vice versa. So the way I have set it up makes for the most compact link line for applications. But you are right it makes no logical sense to humans who are used to the old static linking, and on that basis it may make sense to link the other way, and accept a less compact link line which mentions both libplplot and libpltcl. Anybody else have thoughts on this issue? Alan |