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

durgaprasad jammula
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/ 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