On Thu, 07 Sep 2006 07:16:46 -0700, durgaprasad jammula wrote: > Hi All, > > I want to make a shared library which should also be an executable. Can > you please tell me how to do it.
It used to be kind of a pain to do this, these days you can probably dlopen PIE binaries, or statically link in crt0 to your shared library ... something like that. Otherwise you have to do a lot of work (invoking syscalls directly and such). thanks -mike