GCC 4.0 RC1 Available

Per Bothner per@bothner.com
Mon Apr 11 22:33:00 GMT 2005


Per Bothner wrote:
> I can no longer build Kawa using the 4.0 branch.

Some more information:

The failing statement is:
Class.forName("kawa.lib.prim_syntax", false,
               getClass().getClassLoader());

prim_syntax.class exists in the current directory,
which is ../../kawa/lib.  The program is run with
CLASSPATH=../..

Printing getClass().getClassLoader() yields:
gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
   parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

Note the urls=[file:./].  Looks like it's ignoring the CLASSPATH
environment option.

It works after I do:
mkdir kawa kawa/lib && cp prim_syntax.class kawa/lib
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Gcc mailing list