Stefan Behnel wrote:
Armin Steinhoff, 06.01.2012 17:25:
A better aproach would be to bind the TCC library ( libtcc ->
http://bellard.org/tcc/tcc-doc.html#SEC22 ) to PyPy.
This library allows to compile on the fly and creates x86 executable
code
in memory space ... no link actions, just call it with a library call.
... except that it doesn't support the full C standard, so it won't
compile all existing code, at least not correctly, from my experience.
And it only works on the x86 (32/64bit) architecture. It also
(obviously) won't generate as efficient code as gcc or icc would. So
you won't gain as much as you might think.
Stefan
OK ... I know the restrictions of TCC. Just an off topic question: is
there a comparable library interface for gcc or other C compilers ?
Armin Steinhoff
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev