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


Groups > comp.lang.python > #43650

Re: Cross-compiling Python for ARM?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'interpreter': 0.05; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'appliance,': 0.16; 'be:': 0.16; 'expects': 0.16; 'fails.': 0.16; 'gilles': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'scripts.': 0.16; 'subject:ARM': 0.16; 'wrote:': 0.18; 'header :User-Agent:1': 0.23; 'issue,': 0.24; 'compiled': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'rest': 0.29; 'wondering': 0.29; 'am,': 0.29; 'running': 0.33; 'could': 0.34; 'case,': 0.35; 'but': 0.35; 'subject:?': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'solve': 0.60; 'mentioned': 0.61; 'received:173': 0.61; 'due': 0.66; 'believe': 0.68; './configure': 0.84; "it'd": 0.84; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Jan Reedy <tjreedy@udel.edu>
Subject Re: Cross-compiling Python for ARM?
Date Mon, 15 Apr 2013 20:50:09 -0400
References <7d6om8tigsjg0eqcpig5fl75dbth6qpflc@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
In-Reply-To <7d6om8tigsjg0eqcpig5fl75dbth6qpflc@4ax.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.650.1366073421.3114.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366073421 news.xs4all.nl 2577 [2001:888:2000:d::a6]:60758
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43650

Show key headers only | 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