You're replying to a comment by ivan.

ivan Permalink
October 26, 2009, 19:33

The uClibc trick is *way* too complicated !

You can specify *any* statically linked ELF module as the interpreter !

So, do a program (say.. fakeld.c) that'll do the nasties.. compile it with :

gcc -static -Wl,-static -static-libgcc fakeld.c -o fakeld.so

Compile it again with :
gcc -Wl,-dynamic-linker,$(pwd)/fakeld.so fakeld.c -o fakeld

--Ivan

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "server": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.