Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-java@g.o
From: Hanno Meyer-Thurow <h.mth@...>
Subject: Re: work on gcj for gentoo
Date: Sun, 12 Mar 2006 19:25:28 +0100
On Sat, 11 Mar 2006 21:51:03 +0100
Hanno Meyer-Thurow <h.mth@...> 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/ -> lib/ 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:
	* add gcj useflag,
	  drop java-nativeonly, java-native-bin useflags
	* gcj useflag: build ecj.jar and native binary

	* add gcj useflag
	* drop java-native-bin useflag
	* gcj useflag: build native binary

	* 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?!

	* add nativeEcj Compiler Adapter
	  (a copy of extJavac Compiler Adapter, ant does the magic)
	* gcj useflag: build with native ecj

	* drop gcjawt hack

	* forgot to drop the hack, soon...

I forgot to fix some DEPENDs and whatever.
Will be fixed ...

My gcj overlay is here

There are some patches for gentoo-java-experimental overlay
to cut down my overlay for gcj.

There are patches for: azureus, jessie and swt
I would like to see bcprov bumped to 1.31.
However, ...

> Regards,
> Hanno
gentoo-java@g.o mailing list

work on gcj for gentoo
-- Hanno Meyer-Thurow
Re: work on gcj for gentoo
-- Hanno Meyer-Thurow
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: work on gcj for gentoo
Next by thread:
distfiles for eclipse-{osgi,runtime}
Previous by date:
Re: work on gcj for gentoo
Next by date:
Re: Wanted: AppFuse webapplications

Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.