Re: ARM Cross-Compile using GNU EABI
"Leandro Galvez" <[email protected]> Mon, 18 Feb 2008 17:51:37 +0800
| Newsgroups | gmane.comp.java.vm.kaffe.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Tried compiling with --with-engine=intrp, option still cannot make it run. Still the same bus error message. Can't I just borrow anybody else's cross compiled kaffe and copy to my arm development board? Does anybody have the a complete procedure (with command lines) for cross compiling kaffe and dependent libraries and be able to make it run properly on ARM development board? JUst would like to make it run even simple applications. My device is ARM920T and my toolkit is GNU ARM EABI. So desperate been trying this for weeks now. My host machine cannot emulate my ARM target maybe because I have separate images for u-boot and linux kernel. It's saying it's unable to load compressed u-boot images when I pass uImage file as kernel image. Please help. Thanks and best regards, Andy ----- Original Message ----- From: "Dalibor Topic" <[email protected]> To: "Leandro Galvez" <[email protected]> Cc: <[email protected]> Sent: Friday, February 15, 2008 5:22 AM Subject: Re: [kaffe] ARM Cross-Compile using GNU EABI > Leandro Galvez wrote: >> Hi All, >> >> I've finally managed to cross compile my kaffe using the configuration >> commands at the end of the mail for libraries, classpath and kaffe. But >> executing any java application from the device produces the output >> attached in the log file. Please help me figure out what is wrong and >> what I can do to fix this problem. > > I'd suggest starting with a kaffe built with the interpreter engine, i.e. > by passing --with-engine=intrp to configure and rebuilding. If the > interpreter engine still fails to work, you'll need to read > FAQ/FAQ.debugging. The interpreter engine is pretty slow, though, so once > you have the interpreter working, I would recommend to focus on getting > the jit engine (--with-engine=jit) working well on your target > > So in short, I'd run the regression tests, and if some of them fail, > resort to debugging kaffe and fixing them. > > cheers, > dalibor topic >