Compilation Problems with libjava

Andrew Haley aph@redhat.com
Sun Jan 5 11:30:00 GMT 2003


Dhek Bhun Kho writes:
 > Hi Andrew,
 > 
 > > You need to build the *whole thing*, gcc, libjava, and all.
 > > Run configure from the top level directory, not any of the subdirs.
 > Is there totally no way to get around that at all?

No.  

In gcc version 3.3 I changed libgcc to add a new feature, and libjava
now uses that feature.  I needed to do this to fix some Java
compatibility problems.  You must recompile everything.

 > I am asking this because it is really gruesome to recompile
 > everything just because one classfile is buggy.

Well, that's different.

 > I was going to try and hack the makefiles to just compile the
 > things that are tightly integrated into GCJ into the libgcj.so
 > (because of CNI native implementations) and ligcj.jar so I can
 > choose other sources to provide the other classes. Maybe this is
 > being silly, please tell me if it is.

I don't understand this.

Andrew.



More information about the Java mailing list