Playing with latest [lib]gcj
Mark Wielaard
mark@klomp.org
Sat Jun 3 13:23:00 GMT 2000
Hi,
I finally managed to build the latest gcj and libgcj from CVS and it seems
to work. But I do have some strange problems which seem to indicate that I
didn't really manage to get a fully working version.
Simple (and not to simple) programs seem to work. But only when I give the
--static option. If I don't do this (but do set the LD_LIBRARY_PATH to the
directory that libgcj lives in) I get the following error:
./a.out: error in loading shared libraries: /usr/local/gcc/lib/libzgcj.so.0:
undefined symbol: __dso_handle
I also tried to run the jave benchmarks from
< http://www.aceshardware.com/Spades/read.php?article_id=153 >
(since that article has as one of its conclusions: "Given how well the
dynamically optimized Java code does against the statically compiled C code,
I think that in setups similar to the above tests, it fair to say that Java
does not need to be statically compiled for good performance.")
But all of the doubles in those tests seem to come out as either zero or
2147483647. Has anybody tried to compile and run those benchmarks with gcj?
Thanks,
Mark
More information about the Java
mailing list