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


>> 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

My example was on PowerPC Linux, and it's ld.so.1 there still.

> and that argc/argv
> passing seems not to work anymore.

Works fine for me still -- it's broken on x86 only perhaps?


Segher




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