This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.0 RC1 Available


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]