[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: SDL and X static extension libraries re-revisited



On Thu, Nov 01, 2001 at 11:50:19AM -0500, Branden Robinson wrote:
> Hi folks,
> 
> There is still one more issue to tackle with SDL vis a vis the static X
> extension libraries that it uses.  Fortunately, this one will be far
> less disruptive than the last, and will not affect library interfaces in
> any way.
> 
> A quick recap:
> 
> 1) In XFree86 4.1.0, the extension libraries libXxf86dga, libXxf86vm,
> and libXv are built only as static objects by default.  (In English,
> these represent the client-side libraries for the DGA, VidMode, and
> XVideo extensions.)
> 
> 2) When you build something as a static object only, you don't have to
> worry (at least not as much) about incompatible interface changes
> because every client has its own copy of the library, and is guaranteed
> to be able to resolve the library's symbols.

What happens if two different dynamic objects, destined to be linked
into the same runtime, are linked against different versions of the
library?

E.g. xfoo links libfoo and libbar, two graphics related libraries.
They both have the capability to use DGA, so they both statically link 
the dga lib.

Is that a problem?

Jules



Reply to: