This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]