[issue5404] Cross-compiling Python

2009-03-02 Thread Joshua Kinard
New submission from Joshua Kinard : I'm attempting to get Python to cross-compile, and I'm not sure if this is an actual flaw in the build system or not, but thought I'd detail what I can here and seek comment from those in the know. What happens is under a cross-environment se

[issue5404] Cross-compiling Python

2009-03-02 Thread Joshua Kinard
Joshua Kinard added the comment: Gotcha, I'll poke around and see what I can find. Are you guys open to patches for 2.5.x still if we find something that needs patching (versus passing lots of variables to the make process)? ___ Python tracker

[issue5404] Cross-compiling Python

2009-03-02 Thread Joshua Kinard
Joshua Kinard added the comment: Gotcha. Not sure how far off Gentoo is from supporting 2.6 -- our primary package manager relies on it, so the updates tend to be slow. for moving to new versions. Do you guys maintain any kind of an "internals" guide to the build system anywhere

[issue1597850] Cross compiling patches for MINGW

2009-03-02 Thread Joshua Kinard
Joshua Kinard added the comment: Anyone gotten farther on getting Python-2.5.x to cross-compile? I'm trying to get x86_64-pc-linux-gnu --> mipsel-unknown-linux-gnu, and after some hacking at the last updated cross-2.5.1.patch, plus a fix for the %zd printf bugaboo, plus adding in co

[issue5404] Cross-compiling Python

2009-03-03 Thread Joshua Kinard
Joshua Kinard added the comment: Making progress! Adapted the cross-2.5.1.patch from Issue #1597850, integrated the %zd printf fixup patch, and added another cross-compiler check for the libffi configure bits in setup.py (it'd pass libffi's configure no --host options, so libffi wou

[issue5404] Cross-compiling Python

2009-03-03 Thread Joshua Kinard
Joshua Kinard added the comment: Roumen, I took a look at 4010, and tried your patch (as well as attempted to apply the latter patch, but they changes are too great). Neither one helped resolve my issue, but I should probably explain the angle I'm attacking this from so you have an id

[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-04-16 Thread Joshua Kinard
Joshua Kinard added the comment: Is there any movement on this perchance? Just bumped into this on my MIPS platform and discovered this bug. -- nosy: +kumba ___ Python tracker <http://bugs.python.org/issue4