[Compiler-sig] Python on mips

inpreet singh.inpreet at netsity.com
Fri Sep 2 12:44:53 CEST 2005


Hello,
I was trying to build python package for mips instruction set processor. First of all is it possible to crozz compile pythone package. I am getting errors while doing so....
**************ERROR*******************
Parser/pgen ./Grammar/Grammar ./Include/graminit.h ./Python/graminit.c
Parser/pgen: Parser/pgen: cannot execute binary file
make: [Include/graminit.h] Error 126 (ignored)
Parser/pgen ./Grammar/Grammar ./Include/graminit.h ./Python/graminit.c
Parser/pgen: Parser/pgen: cannot execute binary file
make: [Python/graminit.c] Error 126 (ignored)
case $MAKEFLAGS in \
*-s*)  CC='mipsel-linux-gcc' LDSHARED='mipsel-linux-gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
*)  CC='mipsel-linux-gcc' LDSHARED='mipsel-linux-gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
esac
/bin/sh: line 1: ./python: cannot execute binary file
make: *** [sharedmods] Error 126
***************************************

How can I remove these errors....?
Regards
Inpreet Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/compiler-sig/attachments/20050902/6e6cf210/attachment.htm


More information about the Compiler-sig mailing list