Python on mips

"inpreet" <[email protected]> Fri, 2 Sep 2005 16:14:53 +0530
Newsgroups gmane.comp.python.compiler
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============1362136820==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_01BA_01C5AFD9.73EC09A0"

This is a multi-part message in MIME format.

------=_NextPart_000_01BA_01C5AFD9.73EC09A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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=3D'mipsel-linux-gcc' LDSHARED=3D'mipsel-linux-gcc -shared' =
OPT=3D'-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py =
-q build;; \
*)  CC=3D'mipsel-linux-gcc' LDSHARED=3D'mipsel-linux-gcc -shared' =
OPT=3D'-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

------=_NextPart_000_01BA_01C5AFD9.73EC09A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3700.6699" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>I was trying to build python package =
for mips=20
instruction set processor. First of all is it possible to crozz compile =
pythone=20
package. I am getting errors while doing so....</FONT></DIV>
<DIV><FONT face=3DVerdana=20
size=3D2>**************ERROR*******************</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>Parser/pgen ./Grammar/Grammar=20
./Include/graminit.h ./Python/graminit.c<BR>Parser/pgen: Parser/pgen: =
cannot=20
execute binary file<BR>make: [Include/graminit.h] Error 126=20
(ignored)<BR>Parser/pgen ./Grammar/Grammar ./Include/graminit.h=20
./Python/graminit.c<BR>Parser/pgen: Parser/pgen: cannot execute binary=20
file<BR>make: [Python/graminit.c] Error 126 (ignored)<BR>case $MAKEFLAGS =
in=20
\<BR>*-s*)&nbsp; CC=3D'mipsel-linux-gcc' LDSHARED=3D'mipsel-linux-gcc =
-shared'=20
OPT=3D'-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py =
-q=20
build;; \<BR>*)&nbsp; CC=3D'mipsel-linux-gcc' =
LDSHARED=3D'mipsel-linux-gcc -shared'=20
OPT=3D'-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py =
build;;=20
\<BR>esac<BR>/bin/sh: line 1: ./python: cannot execute binary =
file<BR>make: ***=20
[sharedmods] Error 126</FONT></DIV>
<DIV><FONT face=3DVerdana=20
size=3D2>***************************************</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>How can I remove these =
errors....?</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>Regards<BR>Inpreet=20
Singh</FONT></DIV></BODY></HTML>

------=_NextPart_000_01BA_01C5AFD9.73EC09A0--


--===============1362136820==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Compiler-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/compiler-sig

--===============1362136820==--