On Sat, Jan 01, 2000 at 10:13:05PM +0100, Vincent GAY-PARA wrote: > > There is a new release of KJC version 1.3C, which should correct this bug, > available on our CVS and download pages at http://www.dms.at/kopi Great. 1.4C works for me. Thanks, Mark P.S. Brian I think you should only add the kjc classpath to the compiler flags not to the user classpath.
--- Makefile.am 1999/12/31 13:46:49 1.29 +++ Makefile.am 2000/01/01 22:00:41 @@ -79,28 +79,23 @@ # the javac-like program #----------------------------------------------------------------- if USER_SPECIFIED_CLASSLIB -USER_CLASSLIB_TMP = @USER_CLASSLIB@ +USER_CLASSLIB = @USER_CLASSLIB@ else if JAPHAR -USER_CLASSLIB_TMP = @JAPHAR_CLASSLIB@ +USER_CLASSLIB = @JAPHAR_CLASSLIB@ else if KAFFE -USER_CLASSLIB_TMP = @KAFFE_CLASSLIB@ +USER_CLASSLIB = @KAFFE_CLASSLIB@ else -USER_CLASSLIB_TMP = /usr/local/java/lib/classes.zip +USER_CLASSLIB = /usr/local/java/lib/classes.zip endif endif endif -if USER_SPECIFIED_KJC -USER_CLASSLIB = @KJC_CLASSPATH@:$(USER_CLASSLIB_TMP) -else -USER_CLASSLIB = $(USER_CLASSLIB_TMP) -endif #----------------------------------------------------------------- @@ -108,7 +103,7 @@ # handling javac definition including programs like jikes here #----------------------------------------------------------------- if USER_SPECIFIED_KJC -JAVAC = $(USER_JABBA) $(ARG_CLASSPATH_VM) $(USER_CLASSLIB) $(JAVAC_MAIN) $(ARG_CLASSPATH_JAVAC) .:$(USER_CLASSLIB) -d . @classes +JAVAC = $(USER_JABBA) $(ARG_CLASSPATH_VM) @KJC_CLASSPATH@:$(USER_CLASSLIB) +$(JAVAC_MAIN) $(ARG_CLASSPATH_JAVAC) .:$(USER_CLASSLIB) -d . @classes else if USER_SPECIFIED_JIKES

