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

Ger Teunis g.teunis at gmail.com
Sat Jan 17 05:05:46 EST 2009


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!
-- 
View this message in context: http://www.nabble.com/Crosscompiling-for-MIPS%2C-smart-people-wanted-tp21514822p21514822.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list