Hi, while trying to simplify the usage of pypy in uWSGI, i started working
with pie mode (gcc -pie option).

Position independent executables can be dl-opened (at least) on Linux and
OSX as normal shared libraries.

As dealing with libpypy-c is basically messy, this could be a solution.

I think distributing a -pie enabled binary package would push adoption of
uWSGI+pypy solutions (currently the biggest deployment i have found rely
on libpypy-c distributed by my company that is months old), and generally
will simplify the embedding of pypy in other apps.

I still have not tried to translate a pypy source tree with -pie flag, so
maybe nothing will work (even if i do not see why). I will make an attempt
in the next few hours

Regards

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to