This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to make a file which is both shared library and executable
- From: durgaprasad jammula <durgaprasad_j at yahoo dot com>
- To: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Thu, 7 Sep 2006 07:16:46 -0700 (PDT)
- Subject: How to make a file which is both shared library and executable
- Reply-to: durgaprasad jammula <durgaprasad_j at yahoo dot com>
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