automake
[Top][All Lists]
Advanced

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

Re: how to hook into shared libraries (by chaining)


From: Ralf Wildenhues
Subject: Re: how to hook into shared libraries (by chaining)
Date: Tue, 13 Feb 2007 13:33:58 +0100
User-agent: Mutt/1.5.13 (2007-02-12)

* Christian Parpart wrote on Tue, Feb 13, 2007 at 11:59:35AM CET:
> 
> I want to override some functions located in libGL.so and libX11.so, in order 
> to capture movies from (any) OpenGL application.
> 
> There are now several ways to achieve this, but none of them seems to be 
> userfriendly *and* ideal (system/platform independant).

The question is how portable you want to be.  Only Gentoo?  Only
GNU/Linux?  Only ELF systems?  Only GNU binutils ld?  Or also, say, w32,
or AIX non-runtimelinking, or otherwise native non-GNU linker?
Can we assume the libGL and libX11 all come from X.org?
Is using a wrapper shell script acceptable for you?
Is patching a binary (a la objcopy) acceptable for you?

> Unfortunately, automake/libtool doesn't have any syntax to express such a 
> feature,

Because it's inherently not very portable.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]