Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43650

Re: Cross-compiling Python for ARM?

From Terry Jan Reedy <tjreedy@udel.edu>
Subject Re: Cross-compiling Python for ARM?
Date 2013-04-15 20:50 -0400
References <7d6om8tigsjg0eqcpig5fl75dbth6qpflc@4ax.com>
Newsgroups comp.lang.python
Message-ID <mailman.650.1366073421.3114.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Cross-compiling Python for ARM? Gilles <nospam@nospam.com> - 2013-04-15 17:20 +0200
  Re: Cross-compiling Python for ARM? Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-15 20:50 -0400
  Re: Cross-compiling Python for ARM? Anssi Saari <as@sci.fi> - 2013-04-16 17:22 +0300
    Re: Cross-compiling Python for ARM? Gilles <nospam@nospam.com> - 2013-04-21 00:41 +0200

csiph-web