Hi Mark, Try using KJC (kjc.jar is included in kaffe 1.1.x) or jikes 1.18 instead of Sun's javac, but include kaffe's rt.jar in the classpath.
Also, I would use 1.1.1 instead of 1.1.0 as there's been a lot of improvement between the two development releases. Cheers, Rob On Sat, 9 Aug 2003, Mark and Janice Juszczec wrote: > Hi folks > > I made kaffe-1.1.0 for i386. > > Now I'm making kaffe-1.1.0 for mipsel (still playing with that Helio) > > Per the FAQ.embedded, I do: > > export -n JAVA > export -n JAVAC > export -n CLASSPATH > export JAVAC="/usr/java/jdk1.3.1_08/bin/javac -g:none" > make Klasses > > I get a bunch of errors (41 to be exact) like: > > ./java/io/ObjectStreamClass.java:791: cannot resolve symbol > symbol : method initCause (java.io.IOException) > location: class java.io.StreamCorruptedException > sce.initCause(e); > ^ > ./java/io/ObjectStreamClass.java:825: cannot resolve symbol > symbol : method initCause (java.io.IOException) > location: class java.io.StreamCorruptedException > sce.initCause(e1); > ^ > ./java/io/ObjectStreamClass.java:830: cannot resolve symbol > symbol : method initCause (java.lang.ClassNotFoundException) > location: class java.io.StreamCorruptedException > sce.initCause(e2); > > > Figuring its looking for stuff in my i386 kaffe rt.jar, I do: > > export JAVAC="/usr/java/jdk1.3.1_08/bin/javac -g:none -classpath > /usr/local/kaffe/jre/lib/rt.jar" > > and get errors like (83 of them): > > java/lang/AssertionError.java:80: cannot resolve symbol > symbol : method initCause (java.lang.Throwable) > location: class java.lang.AssertionError > initCause((Throwable) msg); > ^ > java/lang/reflect/Proxy.java:341: cannot resolve symbol > symbol : method getCause () > location: class java.lang.reflect.InvocationTargetException > throw (NullPointerException) e.getCause(); > > > So out of desperation, I tried: > > export JAVAC="/usr/java/jdk1.3.1_08/bin/javac -g:none -classpath > /usr/local/kaffe/jre/lib/rt.jar:/usr/local/kaffe/lib/kjc.jar" > make Klasses > > and got the same thing. > > So, the question is, what do I have to do to strip all debugging information > out of rt.jar? > > Mark > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > _______________________________________________ > kaffe mailing list > [EMAIL PROTECTED] > http://kaffe.org/cgi-bin/mailman/listinfo/kaffe > _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
