This is the mail archive of the gcc-help@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]

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


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:
http://gcc.gnu.org/ml/gcc-help/2003-07/msg00232.html

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


Paolo


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