[Python-Dev] Fwd: Issue 1229 in nativeclient: Get Python to work under Native Client

anatoly techtonik techtonik at gmail.com
Thu Jul 18 19:43:07 CEST 2013


Does Python build system support cross-compiling? NaCl projects seems to
have problem with that. Just thought you might be interested to know about
it.



---------- Forwarded message ----------
From: <nativeclient at googlecode.com>
Date: Tue, Jul 16, 2013 at 9:24 PM
Subject: Re: Issue 1229 in nativeclient: Get Python to work under Native
Client
To: techtonik at gmail.com


Updates:
        Status: Fixed

Comment #8 on issue 1229 by mseaborn at chromium.org: Get Python to work under
Native Client
http://code.google.com/p/**nativeclient/issues/detail?id=**1229<http://code.google.com/p/nativeclient/issues/detail?id=1229>

This is done in naclports.  Sam Clegg added initial support for building
against nacl-glibc in https://code.google.com/p/**
naclports/source/detail?r=802<https://code.google.com/p/naclports/source/detail?r=802>
.

Sam found a way to work around the Python build's lack of support for
cross-compiling.  The workaround is to build a native "pgen" first and
inject it into the later cross-build.

Building Python with nacl-newlib and PNaCl is a work in progress:
https://codereview.chromium.**org/18112024/<https://codereview.chromium.org/18112024/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130718/bba1c711/attachment.html>


More information about the Python-Dev mailing list