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

Paolo Bonzini
Thu Sep 7 16:58:00 GMT 2006

John Love-Jensen wrote:
> Hi Durga,
> Please do not cross-post to both gcc and gcc-help lists.
> Here is an example to do what you want:

Except that the interp is now /lib/ and that argc/argv 
passing seems not to work anymore.  But overall yes, that will give you 
what you want.


More information about the Gcc-help mailing list