On Sat, Jan 17, 2009 at 7:05 AM, Ger Teunis <g.teu...@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.
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to