This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shiz
Recipients lemburg, loewis, shiz, skrah, vstinner
Date 2014-01-20.19:08:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390244889.25.0.657707851949.issue20305@psf.upfronthosting.co.za>
In-reply-to
Content
I managed to cross-compile Python 3.3.3 for arm-linux-androideabi (using the Android NDK r9c) with the patches in this issue, issue 20306 and issue 20307. It did require a small additional patch which addressed the fact that the host system can't run the generated parser generator, which I'll make an issue for as soon as I refactored the patch. The patch allows the user to specify a host parser generator that points to a compiled version of pgen that is runnable on the host through the HOSTPGEN environment variable in ./configure.

Compiling the tip proved somewhat harder as the cross-compilation requires a host Python of the same version, which I didn't have. I formatted a patch which allows the user to supply a special host python path using the HOSTPYTHON environment variable to ./configure. I'll make an issue for that soon, and will bundle it with the HOSTPGEN patch if it's seen as a sufficient approach.

As far as maintaining an Android port for CPython goes; I may be interested in this as I'd need to regularly use it anyway. Can anyone tell me what the possibilities are here?

Since in the meanwhile the tip was updated to unconditionally include locale.h in Python/fileutils.c according to issue 19036, here's an updated patch for this issue that applies cleanly against the tip.
History
Date User Action Args
2014-01-20 19:08:09shizsetrecipients: + shiz, lemburg, loewis, vstinner, skrah
2014-01-20 19:08:09shizsetmessageid: <1390244889.25.0.657707851949.issue20305@psf.upfronthosting.co.za>
2014-01-20 19:08:09shizlinkissue20305 messages
2014-01-20 19:08:08shizcreate