This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug target/18459] [4.0 Regression] gcj no longer works on win32
- From: "ovidr at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 10 Dec 2004 03:11:27 -0000
- Subject: [Bug target/18459] [4.0 Regression] gcj no longer works on win32
- References: <20041113044458.18459.ovidr@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ovidr at users dot sourceforge dot net 2004-12-10 03:11 -------
I have tried this patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02192.html
but a simple gcj --main=test test.java -o test.exe ; test.exe just results in an
application error popup (on windows).
I have also tried "http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02120.html"
(with the 1 line binutils ld patch to add .jcr), but linking fails:
test.java: undefined reference to `__gcj_personality_v0'
Removing the stuff from cygming.h and remaking my cross compiler makes things
work again.
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/cygming.h.diff?cvsroot=gcc&r1=1.22&r2=1.23
i686-pc-mingw32-gcj (GCC) 4.0.0 20041209 (experimental)
public class test {
public static void main(String[] a) {
System.out.println("x");
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18459