On Tue, Dec 16, 2008 at 8:38 AM, Lev Givon <[email protected]> wrote:
> Not strictly a Cython question, but is there a way to cross-compile a
> Python extension written in C for a specific platform using distutils
> or setuptools?

No, except for special cases (windows 32 <-> 64 bits). You will be
better of using a real build system, like make,  scons or waf (for
scons, I have a tool which implements a python builder, and works on
quite a few platforms). You will still need to handle the cross
compilation part, but it will be doable. Distutils is such a mess that
I would not wish my worst enemy to have to do implement cross
compilation on the top of it,

David
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to