* 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
