469,575 Members | 1,662 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

Cross compiling 2.5.1

I was wondering if anyone could help me with cross-compiling Python
2.5.1 to a MIPS target.

The approach I'm using is based off the suggestion in the README file
that comes with the python source distribution.

I managed to get the configure script to run using the following
command line:

$ ../Python-2.5.1/configure --host=mips-linux --enable-shared

Next I run make and it builds the python interpreter and shared
library. However, it then attempts to run the interpreter to complete
the rest of the build process, and that of coarse fails.

I read several posts on the internet from people who applied patches
to the python source to enable cross-compling, but my impression was
that 2.5.1 had merged some of this work.

Can anyone give me some suggestions on how I get the makery to use the
build interpreter instead of the host interpreter to complete the
build process?

Thanks in advance for any suggestions.

Jeff

Aug 2 '07 #1
0 951

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Matthew Mueller | last post: by
7 posts views Thread by Scott M. | last post: by
1 post views Thread by Han-Wen Nienhuys | last post: by
1 post views Thread by ac.c.2k7 | last post: by
3 posts views Thread by Squat'n Dive | last post: by
3 posts views Thread by cervello_in_vacanza | last post: by
2 posts views Thread by Hendrik van Rooyen | last post: by
reply views Thread by Hendrik van Rooyen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.