Message199165
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. |
|
Date |
User |
Action |
Args |
2013-10-07 23:01:15 | Trevor.Bowen | set | recipients:
+ Trevor.Bowen, r.david.murray |
2013-10-07 23:01:14 | Trevor.Bowen | set | messageid: <1381186874.62.0.772625208771.issue19142@psf.upfronthosting.co.za> |
2013-10-07 23:01:14 | Trevor.Bowen | link | issue19142 messages |
2013-10-07 23:01:14 | Trevor.Bowen | create | |
|