[kaffe] Re: Kaffe and MIPS CPUs
Mark and Janice Juszczec
Tue, 09 Jul 2002 19:05:56 +0000
Since there have been some posts about Kaffe and MIPS, I thought I'd let
everyone know what I'm up to. A side project a work has me trying to
compile Kaffe v1.0.7 to run on a Helio pda. It runs
a 75MHz Philips R3912 little endian mips processor.
In order to get the hang of cross compiling something as large and involved
as Kaffe, I decided to start by compiling v1.0.5. Its runs on MIPS, since I
downloaded the binary and libraries from kaffe.org.
I build the cross compile toolchain out of:
After some trial and error, I've come up with the following configure call:
../kaffe-1.0.5/configure --target=mipsel-linux --host=i686-pc-linux-gnu
This compiles up to kaffe/kaffevm/jit3/machine.c which chokes on
/tmp/ccB9xikZ.s: Assembler messages:
/tmp/ccB9xikZ.s:12663: Error: unrecognized opcode `call
/tmp/ccB9xikZ.s:12665: Error: unrecognized opcode `popl %ecx'
/tmp/ccB9xikZ.s:12667: Error: unrecognized opcode `jmp *%eax'
I don't have a mips assembly reference handy, but I'm guessing this file
contains some intel assemble code that needs to be rewritten.
I'm more concerned that I'm compiling something that lives in config/i386.
Is this an error in my config?
Jim, thanks for the reference to the Pocketlinux stuff. I'll do some
comparisons and see if anything suggests itself.
MSN Photos is the easiest way to share and print your photos: