[Mono-list] Crosscompiling for MIPS, smart people wanted

Rodrigo Kumpera kumpera at gmail.com
Fri Feb 27 16:24:23 EST 2009


On Sat, Jan 17, 2009 at 7:05 AM, Ger Teunis <g.teunis at gmail.com> wrote:

>
> I'm currently trying to crosscompile Mono for a MIPS, but I encounter a
> problem.
>
> I downloaded the current sourcecode of Mono (2.2) and I am trying to cross
> compile it for a MIPS32 box of mine.
>
> I configured using the following command:
> ./configure --target=mipsel-linux-uclibc --host=mipsel-linux-uclibc
> --with-tls=pthread
>
> The --with-tls switch seems to fix compile error: "undefined reference to
> 'GC_local_malloc'
> Now I encounter the following problem during make:
>
> (in mono/mini)
> ./genmdesc ./cpu-mips.md cpu-mips.h mips_desc
> ** ERROR **: Invalid opcode 'mips_beq' at line 254 in ./cpu-mips.md
>
> It seems, while genmdesc is compiled for i386 the .md file is a MIPS file.
> (file genmdesc returns: ELF 32-bit LSB executable, Intel 80386, dynamic
> linked...)
>
> Can anyone help me out here? It would be great to run Mono on a Networked
> Media Tank!


Your problem is that the mips machine descriptor file is broken. Please talk
with the MIPS
maintainer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090227/1e2f6042/attachment.html 


More information about the Mono-list mailing list