Re: [Java-gnome-developer] gcj-only build [was: ANOUNCE: GNOME Platform Bindings 2.5.2]
Brought to you by:
afcowie
From: Luca De R. <pie...@li...> - 2004-01-10 19:23:41
|
Il sab, 2004-01-10 alle 20:16, li...@lo... ha scritto: > Hi, > > > > Maybe I am not understanding the configure options correctly, or --help is not > > > showing all them. What I want to acomplish: > > > > > > 1. Build Java-Gnome (or at least java-gtk and java-glade packages) using only > > > GCJ/GIJ, no need for another JVM/javac. So far configure allways complains it > > > needs a JDK. :-( > > > > I don't think there is actually an option to build without a VM (and a > > without a java compiler, gcj excluded). Any thougths? > > If there isn't, I think it's a configure bug. GCJ can compile to bytecodes (can > do the same work as jikes or kaffe kjc) and it includes a VM, started by > command gij, so it can execute regular java apps compiled to bytecodes. You > should need anything except GCJ to compile java-gnome. Ok, I've understood your point: at the moment this can be done with wrappers, they also permit to run and compile eclipse with gij, gcj. Read this (from Mark Wielaard): <quote> Hi all, After finally getting the latest Eclipse 3.0 M4 working with gij <http://gcc.gnu.org/ml/java/2003-11/msg00024.html> I tried to get the java-gnome bindings <http://java-gnome.sourceforge.net/> and the eclipse java-gnome plugin wizard <http://zeta.zizworks.com/public/projects/java-gnome.do> all working together. </quote> It should work with java-gnome too. > Has anyone tried to provide java/javac wrappers for gij/gcj? Read above. > I think that, instead of fool > configure, we should fix it. Agreed, but this implies at least we provide an option for all compiler interpreters around, and this could be not very easy to mantain. Maybe you could provide some patches for adding options to use gij as interpreter and gcj as bytecode compiler, (apart from using it as a native lib compiler). Also, if you are going to hack on it, please use the cvs head version ;) -- Luca De Rugeriis <pie...@li...> |