<div dir="ltr">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.<br clear="all"><div><br></div>
<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername"></b> <span dir="ltr"><<a href="mailto:nativeclient@googlecode.com">nativeclient@googlecode.com</a>></span><br>

Date: Tue, Jul 16, 2013 at 9:24 PM<br>Subject: Re: Issue 1229 in nativeclient: Get Python to work under Native Client<br>To: <a href="mailto:techtonik@gmail.com">techtonik@gmail.com</a><br><br><br>Updates:<br>
        Status: Fixed<br>
<br>
Comment #8 on issue 1229 by <a href="mailto:mseaborn@chromium.org" target="_blank">mseaborn@chromium.org</a>: Get Python to work under Native Client<br>
<a href="http://code.google.com/p/nativeclient/issues/detail?id=1229" target="_blank">http://code.google.com/p/<u></u>nativeclient/issues/detail?id=<u></u>1229</a><br>
<br>
This is done in naclports.  Sam Clegg added initial support for building against nacl-glibc in <a href="https://code.google.com/p/naclports/source/detail?r=802" target="_blank">https://code.google.com/p/<u></u>naclports/source/detail?r=802</a>.<br>


<br>
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.<br>
<br>
Building Python with nacl-newlib and PNaCl is a work in progress: <a href="https://codereview.chromium.org/18112024/" target="_blank">https://codereview.chromium.<u></u>org/18112024/</a><span class="HOEnZb"><font color="#888888"><br>


<br></font></span></div></div>