[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Experience in converting to GCJ



Hallo David,

* David Goodenough wrote:
>Does anyone have experience they could share in converting a Java DEB to use 
>GCJ where available.  

RedHat has a nice project using gcj to compile a lot of packages. Also
they have compield eclispe using ant and gcj.

>In particular I want to convert kdebindings so that it can be accepted into 
>main.

If you just need an javac, take jikes...

>look for an executable called javac, and do not seem to ask 
>update-alternatives if javac is defined (which would be the Debian
>way - or should be).

Actually the way to get a u-a maintained javac, is taking
/usr/bin/javac.

>They then look for java in the bin directory of JAVAHOME, libjvm.so
>and then various checks for green libraries, and a bunch of include
>files and finish off checking that this java knows about JNI.

I haven't used gcj, but you should be able to point JAVA_HOME to the
right dir. If everything fails, patch it...

Good luck! Maybe you want to try kaffe...

Jan
-- 
Jan Schulz                     jasc@gmx.net
     "Wer nicht fragt, bleibt dumm."



Reply to: