Cross compiling (i386 from amd64) with distutils

Martin v. Loewis martin at v.loewis.de
Sun Nov 7 19:30:25 EST 2010


> 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



More information about the Python-list mailing list