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 Trevor.Bowen
Recipients Trevor.Bowen, r.david.murray
Date 2013-10-07.23:01:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381186874.62.0.772625208771.issue19142@psf.upfronthosting.co.za>
In-reply-to
Content
In the vein of:

http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html

I have created a patch and top-level build script, which builds the requisite python interpreter and Parser/pgen binary to run on the build system, which are both used during the cross-compile process.

In some ways, this patch is simpler, because of the new cross-compile capabilities in 2.7.4 and 2.7.5.  However, previous work is still insufficient, because the Makefile assumes the cross-compiled Parser/pgen can be executed on the build system during build.  This patch primarily compensates for that, but it also works around some misplaced installation file issues.

My top-level cross-compile script, which applies the patch *during* the build process is also attached.  It depends on a VCS to restore the original version, but I could have just as easily made 2 copies of the patched files (before and after patching) and copied the original versions as needed.

I hope this helps others.  Hopefully, bits of this can be integrated to help further simplify future cross-compile efforts.
History
Date User Action Args
2013-10-07 23:01:15Trevor.Bowensetrecipients: + Trevor.Bowen, r.david.murray
2013-10-07 23:01:14Trevor.Bowensetmessageid: <1381186874.62.0.772625208771.issue19142@psf.upfronthosting.co.za>
2013-10-07 23:01:14Trevor.Bowenlinkissue19142 messages
2013-10-07 23:01:14Trevor.Bowencreate