[Mono-dev] Cross-compile mono to MIPS SOC w/CodeSourcery 3.93?
the mad mole
madmole at gmail.com
Wed Mar 28 17:53:38 UTC 2012
I'm trying to cross-compile mono 2.10.2 from the source tarball. My build
machine is an x86 Linux PC running Fedora (could use one of the other
distros of that makes things easier). The target is a SOC with a vanilla
MIPS 24Kc core (little-endian, no FPU).
I found some instructions for ARM (http://mono-project.com/Mono%3aARM &
which I tried to adapt for MIPS, but have come up short. I'll spare the
error messages, but it dies in ./configure. I believe the root cause is
not setting the right combination of environment variables for confogure to
properly use the CodeSourcery 3.93 toolchain.
Specifically, I don't see (from looking at the output of ./configure
--help) how to override the default x86 headers and libraries, which would
be needed in addition to the compiler, linker, etc. Does anyone have more
detailed instructions on how I might accomplish this? I am not a newbie,
but am somewhat new to cross-compiling. The tutorial information I've been
able to find on automake, etc, is very general.
If I get enough hints to pull this off I'll be happy to write up a detailed
Wiki by way of compensation.
Thx in advance---
./configure --prefix=/usr/local --disable-mcs-build --host=mipsel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list