By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,442 Members | 1,052 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,442 IT Pros & Developers. It's quick & easy.

Cross compiling 2.5.1

P: n/a
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.


Aug 2 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.