From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FIVGW-0000Vi-Sp for garchives@archives.gentoo.org; Sun, 12 Mar 2006 18:26:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2CIPVuJ005519; Sun, 12 Mar 2006 18:25:31 GMT Received: from fmmailgate04.web.de (fmmailgate04.web.de [217.72.192.242]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2CIPUSU030831 for ; Sun, 12 Mar 2006 18:25:30 GMT Received: by fmmailgate04.web.de (8.12.10/8.12.10/webde Linux 0.7) with ESMTP id k2CIPU29026515 for ; Sun, 12 Mar 2006 19:25:30 +0100 Received: from [84.136.101.155] (helo=anomalie.manna.org) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.106 #94) id 1FIVFx-00083Q-00 for gentoo-java@lists.gentoo.org; Sun, 12 Mar 2006 19:25:30 +0100 Date: Sun, 12 Mar 2006 19:25:28 +0100 From: Hanno Meyer-Thurow To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] work on gcj for gentoo Message-Id: <20060312192528.da902806.h.mth@web.de> In-Reply-To: <20060311215103.2d652e15.h.mth@web.de> References: <20060221160425.b1478bdc.h.mth@web.de> <20060311215103.2d652e15.h.mth@web.de> X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: h.mth@web.de X-Sender: h.mth@web.de X-Archives-Salt: 13473e53-d5e3-48af-be9f-e529a1145cbd X-Archives-Hash: be06e8ac8256b69500248b3bc91fc79e On Sat, 11 Mar 2006 21:51:03 +0100 Hanno Meyer-Thurow wrote: > I splitted dev-java/gcj to dev-java/gcj-jdk for Java wrappers. Some annoying issues solved more or less. > I dropped my ecj compiler adapter and gnu rmic adapter. I readded a native ecj compiler adapter. I copied the extJavac one where no switches need to be set. Ant does the magic. > I use java-gcj-compat in that gcj-jdk package to get a tools.jar. > In that jar is only a wrapper for rmic. As ant compiler I use a > gcj-javac compiler-config that sets -Dbuild.compiler=extJava > which you can set in /etc/java-config-2/build/compilers.conf. I use again my native ecj binary from eclipse-ecj > And if my evil lib/libjawt.so -> lib/libgcjawt.so link does the trick > I can drop my gcjawt hacks. It seems to work. > Why I do not use tools.jar for default ant compiler? > I would like, hell, I would like... > ....have a look at it and fix it. :) > Thanks! I have no clue how to use it properly. At least dev-java/gcj-jdk uses java-gcj-compat. So you guys can fiddle with it. I just try to ignore it as much as possible. ;) > So far... Important changes in detail: --- eclipse-ecj: * add gcj useflag, drop java-nativeonly, java-native-bin useflags * gcj useflag: build ecj.jar and native binary gjdoc: * add gcj useflag * drop java-native-bin useflag * gcj useflag: build native binary gcj-jdk: * use java-gcj-compat * drop com.sun...Main (ecj wrapper / it is just troublesome) * use rmic wrapper (as Java code in tools.jar, ant recognizes it) -> it fails because of grmic's classpath issue?! ant-core: * add nativeEcj Compiler Adapter (a copy of extJavac Compiler Adapter, ant does the magic) * gcj useflag: build with native ecj swt: * drop gcjawt hack eclipse-sdk: * forgot to drop the hack, soon... I forgot to fix some DEPENDs and whatever. Will be fixed ... My gcj overlay is here http://geki.ath.cx/hacks/gcj-overlay-2.tar.bz2 There are some patches for gentoo-java-experimental overlay to cut down my overlay for gcj. http://geki.ath.cx/hacks/ There are patches for: azureus, jessie and swt I would like to see bcprov bumped to 1.31. However, ... > Regards, > Hanno -- gentoo-java@gentoo.org mailing list