Gentoo Archives: gentoo-java

From: Hanno Meyer-Thurow <h.mth@×××.de>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] work on gcj for gentoo
Date: Fri, 24 Feb 2006 17:24:54
Message-Id: 20060224182629.b5b50008.h.mth@web.de
In Reply to: Re: [gentoo-java] work on gcj for gentoo by Hanno Meyer-Thurow
1 On Thu, 23 Feb 2006 12:25:08 +0100
2 Hanno Meyer-Thurow <h.mth@×××.de> wrote:
3
4 > My next step:
5 >
6 > After 'make install' I will delete useless files and I will move
7 > header files to fit into include/. If you have another better idea
8 > please tell me.
9
10 I added these configure switches:
11 --mandir=/opt/${PN}-${SLOT}/share/man \
12 --infodir=/opt/${PN}-${SLOT}/share/info \
13 --with-gxx-include-dir=/opt/${PN}-${SLOT}/include \
14
15 What I see is that these can be disabled.
16 libmudflap, libobjc, libssp
17
18 ... that unrelated binaries like gcc, g++, etc. can be deleted.
19
20 I also copy some headers to include/ to have them in one place
21 for applications including them. No idea if that is needed.
22
23 I still built them and did not delete that binaries because of an
24 issue I hit with native build of gjdoc:
25
26 /bin/sh ./libtool --tag=GCJ --mode=link gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -Wl,-O1 -o gjdoc --main=gnu.classpath.tools.gjdoc.Main
27 -Dgnu.gcj.runtime.VMClassLoader.library_control=never -l-com-sun-javadoc -l-com-sun-tools-doclets-Taglet -l-gnu-classpath-tools-gjdoc antlr.so
28 gcj --classpath=. -fassume-compiled -I./src -I. -I/usr/share/antlr/lib/antlr.jar -I. -g -O2 -Wl,-O1 -o .libs/gjdoc --main=gnu.classpath.tools.gjdoc.Main -Dgnu.gcj.runtime.VMClassLoader.library_control=never antlr.so /var/tmp/portage/gjdoc-0.7.7/work/gjdoc-0.7.7/.libs/lib-com-sun-javadoc.so /var/tmp/portage/gjdoc-0.7.7/work/gjdoc-0.7.7/.libs/lib-com-sun-tools-doclets-Taglet.so /var/tmp/portage/gjdoc-0.7.7/work/gjdoc-0.7.7/.libs/lib-gnu-classpath-tools-gjdoc.so
29 /var/tmp/portage/gjdoc-0.7.7/work/gjdoc-0.7.7/.libs/lib-gnu-classpath-tools-gjdoc.so: undefined reference to `java::lang::Class::getSuperclass()'
30 collect2: ld returned 1 exit status
31 make[2]: *** [gjdoc] Fehler 1
32
33
34 Any concerns?
35 Any ideas why it could fail?
36
37
38 Regards,
39 Hanno
40 --
41 gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] work on gcj for gentoo Hanno Meyer-Thurow <h.mth@×××.de>