Cross-compiling Python for ARM?

Terry Jan Reedy tjreedy at udel.edu
Mon Apr 15 20:50:09 EDT 2013


On 4/15/2013 11:20 AM, Gilles wrote:
> Hello
>
> I tried running uWSGI on an ARM-based appliance, but it fails.
>
> Apparently, it could be due to the official Python 2.6.6 interpreter
> in the depot not being compiled the way uWSGI expects it to be:
>
> ./configure --enable-shared; make; make install;
> www.raspberrypi.org/phpBB3/viewtopic.php?f=32&t=15370
>
> I see Python mentioned in /usr/lib and /usr/share, and was wondering
> if all it'd take to solve this issue, is just to cross-compile the
> interpreter and the rest is just CPU-agnostic Python scripts.
>
> Just in case, here's the output:
> www.pastebin.com/wJHjBrfn

I believe some cross-compile support was added to 2.7.4 but I do not 
know the exact nature.





More information about the Python-list mailing list