problems while compiling in Arm processor
jyothi at ncoretech.com
Sat Dec 15 04:17:15 PST 2001
I am having problems while cross compiling kaffe to ARM processor...
I configured with
CC=arm-linux-gcc ./configure --host=i686-arm --target=arm-linux
it configured fine but when I ran the makefile it gave me error in
machine.c in jit3 directory.....
machine.c.195: inconsistent constraints for operand in an 'asm'
I changed the Makefile in config directorty. In Makefile I changed all
i386 to arm.. and then ran make again. But of no use.
I saw the FAQ.profilier and thought it is just for timing purposes and
then commented the line
and ran I got few more error like above wherever profiler functions were
there... so I commented them and then ran. but it gave an
Error: bad instruction :'call soft_fixup_trampoline'
I have attached the error file...
So How should I compile this ???
I saw the www.kaffe.org/archieves and saw they have configured with
host=arm-linux . So I did the same and make went fine and then i
installed it in /usr/local... But when i try to run the Helloworld.java
on arm processor it says
cannot find library "libnative" in the path
Even though the library libnative.so.* and libnative.a are there in path
/usr/local/lib/kaffe , it is continuously giving this error...
When I do "arm-linux-strip libnative*", it says Warning : Output file
cannot represent architecture UNKNOWN!!
Please tell me what is wrong and what all u need to run basic java
program on any machine.
Is there any document for cross compiling kaffe for arm. Is my configure
correct ?.. what is this profiling used for ???..
Please tell me the exact procedure for cross compiling kaffe for arm
thanks in advance,
More information about the kaffe