1 |
On Sat, 11 Mar 2006 21:51:03 +0100 |
2 |
Hanno Meyer-Thurow <h.mth@×××.de> wrote: |
3 |
|
4 |
> I splitted dev-java/gcj to dev-java/gcj-jdk for Java wrappers. |
5 |
|
6 |
Some annoying issues solved more or less. |
7 |
|
8 |
> I dropped my ecj compiler adapter and gnu rmic adapter. |
9 |
|
10 |
I readded a native ecj compiler adapter. I copied the extJavac |
11 |
one where no switches need to be set. Ant does the magic. |
12 |
|
13 |
> I use java-gcj-compat in that gcj-jdk package to get a tools.jar. |
14 |
> In that jar is only a wrapper for rmic. As ant compiler I use a |
15 |
> gcj-javac compiler-config that sets -Dbuild.compiler=extJava |
16 |
> which you can set in /etc/java-config-2/build/compilers.conf. |
17 |
|
18 |
I use again my native ecj binary from eclipse-ecj |
19 |
|
20 |
> And if my evil lib/libjawt.so -> lib/libgcjawt.so link does the trick |
21 |
> I can drop my gcjawt hacks. |
22 |
|
23 |
It seems to work. |
24 |
|
25 |
> Why I do not use tools.jar for default ant compiler? |
26 |
> I would like, hell, I would like... |
27 |
> ....have a look at it and fix it. :) |
28 |
> Thanks! |
29 |
|
30 |
I have no clue how to use it properly. |
31 |
At least dev-java/gcj-jdk uses java-gcj-compat. |
32 |
So you guys can fiddle with it. |
33 |
I just try to ignore it as much as possible. ;) |
34 |
|
35 |
|
36 |
> So far... |
37 |
|
38 |
Important changes in detail: |
39 |
--- |
40 |
eclipse-ecj: |
41 |
* add gcj useflag, |
42 |
drop java-nativeonly, java-native-bin useflags |
43 |
* gcj useflag: build ecj.jar and native binary |
44 |
|
45 |
gjdoc: |
46 |
* add gcj useflag |
47 |
* drop java-native-bin useflag |
48 |
* gcj useflag: build native binary |
49 |
|
50 |
gcj-jdk: |
51 |
* use java-gcj-compat |
52 |
* drop com.sun...Main |
53 |
(ecj wrapper / it is just troublesome) |
54 |
* use rmic wrapper |
55 |
(as Java code in tools.jar, ant recognizes it) |
56 |
-> it fails because of grmic's classpath issue?! |
57 |
|
58 |
ant-core: |
59 |
* add nativeEcj Compiler Adapter |
60 |
(a copy of extJavac Compiler Adapter, ant does the magic) |
61 |
* gcj useflag: build with native ecj |
62 |
|
63 |
swt: |
64 |
* drop gcjawt hack |
65 |
|
66 |
eclipse-sdk: |
67 |
* forgot to drop the hack, soon... |
68 |
|
69 |
I forgot to fix some DEPENDs and whatever. |
70 |
Will be fixed ... |
71 |
|
72 |
My gcj overlay is here |
73 |
http://geki.ath.cx/hacks/gcj-overlay-2.tar.bz2 |
74 |
|
75 |
There are some patches for gentoo-java-experimental overlay |
76 |
to cut down my overlay for gcj. |
77 |
http://geki.ath.cx/hacks/ |
78 |
|
79 |
There are patches for: azureus, jessie and swt |
80 |
I would like to see bcprov bumped to 1.31. |
81 |
However, ... |
82 |
|
83 |
|
84 |
> Regards, |
85 |
> Hanno |
86 |
-- |
87 |
gentoo-java@g.o mailing list |