Compiling latest gcj & libgcj from CVS
Mark Wielaard
mark@klomp.org
Mon Aug 21 17:30:00 GMT 2000
Hi,
Has someone managed to compile the latest gcj and libgcj from CVS?
First I got the error about friends and classes.
Then I got an error compiling java.awt.Component, probably because my
current /usr/local/gcc/share/libgcj.zip contains a java/awt/ColorModel.class
and java/awt/Component.java expects it in java.awt.image.
And now I have this stange internal compiler error when compiling
natClass.cc.
I m giving up for now :(
Bye,
Mark
P.S. This is the error I got:
c++ -DHAVE_CONFIG_H -I. -I../../../libgcj/libjava -I./include -I../../../libgcj/libjava -Iinclude -I../../../libgcj/libjava/include -I../../../libgcj/libjava/../boehm-gc -I./../boehm-gc -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1 -I../../../libgcj/libjava/libltdl -I./libltdl -I../../../libgcj/libjava/../compat-include -I../../../libgcj/libjava/../zlib -I../../../libgcj/libjava/../libffi/include -I../libffi/include -fno-rtti -fvtable-thunks -fasynchronous-exceptions -D__NO_MATH_INLINES -ffloat-store -W -Wall -D_GNU_SOURCE -g -O2 -fvtable-thunks -D_GNU_SOURCE -c -fPIC -DPIC ../../../libgcj/libjava/java/lang/natClass.cc -o java/lang/.libs/natClass.lo
In file included from ../../../libgcj/libjava/java/lang/natClass.cc:19:
../../../libgcj/libjava/include/jvm.h:168: warning: cast from pointer to integer of different size
../../../libgcj/libjava/java/lang/natClass.cc: In method `java::lang::String
*java::lang::Class::getName ()':
../../../libgcj/libjava/java/lang/natClass.cc:373: Tree check: expected function_type, have method_type
../../../libgcj/libjava/java/lang/natClass.cc:373: Internal compiler error in fixup_gotos, at stmt.c:1196
More information about the Java
mailing list