Re: Shared library inter-dependencies

2003-09-05 Thread Kean Johnston
The most current exemple is -lc_r vs -lc (or -lXThrstubs vs -lpthreads) on some systems for threaded vs non-threaded applications. I'm talking about inter-X11 dependencies. Xext *always* depends on X11. SM *always* depends on ICE. That kind of thing. Its a simple matter of ELF shared object inter-

Re: Shared library inter-dependencies

2003-09-05 Thread Matthieu Herrb
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

Re: Shared library inter-dependencies

2003-09-05 Thread Kean Johnston
Matthieu Herrb wrote: 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 t

Re: Shared library inter-dependencies

2003-09-05 Thread Matthieu Herrb
Kean Johnston wrote (in a message from Friday 5) > Hi, > > I asked this once before but unfortunately I lost the reply when I moved > to Mozilla for my mail reader, so I'd like to ask the question again, or > open up the debate. > inter-dependencies are both good and bad. It's a good th

Shared library inter-dependencies

2003-09-05 Thread Kean Johnston
Hi, I asked this once before but unfortunately I lost the reply when I moved to Mozilla for my mail reader, so I'd like to ask the question again, or open up the debate. I would very VERY much like to see the XFree86 build correctly set up its dependencies for shared libraries. For example, ma