How to make a file which is both shared library and executable

durgaprasad jammula durgaprasad_j@yahoo.com
Thu Sep 7 14:16:00 GMT 2006


Hi All,

   I want to make a shared library which should also be an executable. Can you please tell me how to do it.

     For example, in linux, consider /lib/libc.so.6. We can execute that as a command and we can use that also as a shared library.

   Even I want to make my libraries like that. Can you please help me?

Thank you in advance
Durga Prasad



More information about the Gcc-help mailing list