> So is it possible to get distutils to cross compile something like > this, and > if so, what am I missing? Or am I using the wrong tool for the job?
At a minimum, you should be using the target's python binary. distutils has close-to-none cross-compiling support. You can solve some of the problems by editing the Makefile which it uses to learn the compiler options from. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list