thautwarm / restrain-jit

The first and yet the only CPython compatible Python JIT, over the world.(julia backend: https://github.com/thautwarm/RestrainJIT.jl)
MIT License
107 stars 6 forks source link

Cython RTS files should be compiled via corresponding c++ compiler instead the c compiler #16

Open thautwarm opened 4 years ago

thautwarm commented 4 years ago

For instance, conda python uses its own GCC compiler, and we should g++ in this toolchain. The Cython extension always sets language="c++".

The reason why:

thautwarm commented 4 years ago

It seems cython with language=c++ needs a mangled name, and mustn't get unmangled.