[issue3754] cross-compilation support for python build

2012-11-05 Thread Ambroz Bizjak
Ambroz Bizjak added the comment: A minor issue: if only --host= is specified on command line but not --build=, then cross_compiling variable is only defined after AC_PROG_CC is called. However, configure.ac uses it before that (e.g. the part at the top which looks for a python interpreter

[issue3754] cross-compilation support for python build

2012-11-05 Thread Ambroz Bizjak
Ambroz Bizjak added the comment: Forgot to mention: I did run autoreconf after applying the patches. I'm attaching the full output. -- Added file: http://bugs.python.org/file27896/log ___ Python tracker <http://bugs.python.org/i

[issue3754] cross-compilation support for python build

2012-11-05 Thread Ambroz Bizjak
Ambroz Bizjak added the comment: I've applied all patches from py3k-20121004-CROSS.tgz to Python 3.3.0 except 2, 4, and 9 (which didn't apply), but it's not working. After it builds the built in modules, it tries to run the parser generator which was cross-compiled. make Par