Cross platform compilation?

Miki miki.tebeka at gmail.com
Wed Feb 4 04:39:29 CET 2009


On Feb 2, 6:59 pm, "John Harper" <j... at john-a-harper.com> wrote:
> I am trying to build Python to use in an embedded system which uses a
> ppc_440 CPU. The only information I've found is something written by
> Klaus Reimer a few years ago, which was based on Python 2.2. So far I
> seem to have successfully built Python itself, but building the
> extensions fails miserably with complaints about library format. It
> insists on referring to "i686" which is indeed the platform it is
> actually running on.
>
> Before I try to reverse engineer completely setup.py, is there
> something obvious that needs to be done to get it to use the right tool
> chain?
>
> More generally, it seems like this would be something that lots of
> people would want to do. I'm surprised there isn't support for it built
> into the distributed version of Python, without having to hack all the
> setup files...?
Maybe http://www.ailis.de/~k/archives/19-ARM-cross-compiling-howto.html
could help?

HTH,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com




More information about the Python-list mailing list