Problems with Mohans JVM example

Øyvind Harboe
Fri Nov 7 15:16:00 GMT 2003

In Mohans build there is a JVMTest, but I can't get it to compile.

Has this problem been resolved?

Still happens w/GCC 3.3 and GCC 3.4 when I tested.

This was discussed a while back:

C:\thisiscool-gcc\examples\JVMTest>gcj -c -fjni -o prog.o
C:\thisiscool-gcc\examples\JVMTest>gcc -c
-Ic:\thisiscool-gcc\gcc-3.3\include invoke.c -o invoke.o
C:\thisiscool-gcc\examples\JVMTest>gcj -o prog.exe prog.o invoke.o
invoke.o(.text+0xc2):invoke.c: undefined reference to
invoke.o(.text+0xe0):invoke.c: undefined reference to

More information about the Java mailing list