Fedora 10

Apparently Fedora 10’s eclipse-ecj doesn’t have gcj-compiled libraries any more. Never mind:

mkdir /usr/lib/gcj/eclipse-ecj
aot-compile -c "-O3" /usr/lib/eclipse/dropins/jdt/plugins /usr/lib/gcj/eclipse-ecj
rebuild-gcj-db

Also, whilst I’m messing with my system, I’ve always had to do the following for ppc64 builds to work:

mkdir -p /usr/lib/jvm/java-gcj/jre/lib/ppc64/server
ln -s /usr/lib64/gcj-4.3.2/libjvm.so /usr/lib/jvm/java-gcj/jre/lib/ppc64/server

I never figured out how anyone else manages without this. Maybe nobody else is trying to build two platforms on the one box.

2 thoughts on “Fedora 10

  1. I think the lack of an AOT-compiled ecj in F10 is a big mistake. I’ve spent the last couple of months finally getting support for it into Gentoo. Are there plans for an update to add it back?

    I don’t have to make the second fix, but then I’ve written most of Gentoo’s gcj-jdk support (the good parts obviously) ;) Is there already a ‘ppc’ one using /usr/lib/gcj-4.3.2/libjvm.so?

  2. I didn’t even realise they were taking it out. Maybe there’s some part of Eclipse that doesn’t compile with gcj now?

    And yeah, the 32-bit link is already there.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.