This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM EABI and eclipse-ecj


--- Andrew Haley <aph-gcc@littlepinkcloud.COM> wrote:

> Steven Newbury writes:
>  > Hi Andrew,
>  > I've built gcj for ARM EABI using all relevant patches AFAICT, simple test
> java
>  > programs are working fine both using gij and gcj.  I can't get eclipse-ecj
> to
>  > work though, it is giving me this output with -verbose :

I've found that if I use gcj as the jit:
        -Dgnu.gcj.jit.compiler=$(gcj-config --gcj) \ # <- Gentoo-ism
        -Dgnu.gcj.jit.cachedir=/var/tmp/jitcache/ \
        -Dgnu.gcj.jit.options="-Os"
Then it does work.  Something is wrong with the gij interpreter not gcj itself.
 This is the first time I've had a javac other than jikes running on EABI. 
Actually this is the most functional jvm I've got working, jamvm had problems
with doubles which I couldn't get to the bottom of.  Cacao and kaffe don't to
want to work either in various ways.

> 
> It's still work in progress.  Once all of the tests pass I'll have
> a look.
> 
> Did you try the branch at
> svn+ssh://gcc.gnu.org/svn/gcc/branches/gcj/gcj-eabi-branch
> ?
I will.  I wasn't aware of it.  At the moment I'm using all the patches you
have posted plus a patch based on the unwind-backtrace patch you sent to the
java list and the __clear_cache patch I posted.  It's also worth mentioning
that as I mentioned in the bugzilla entry, I'm using a pure iwmmxt non-multilib
toolchain with the associated patch I attached to that bug.


Steve


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]