Hi Mark,

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)

that's good to hear.


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"

looks like we need to fix FAQ.embedded ;) export JAVAC="/usr/java/jdk1.3.1_08/bin/javac" is the one you need, flags are set separately.

And then ./configure --with-jikes=$JAVAC

make Klasses
make JAVAC_FLAGS="-g:none -bootclasspath lib/ "
results in a nice 300k smaller rt.jar for me, with javac from 1.3.1

I get a bunch of errors (41 to be exact) like:

the errors come from javac trying to load core system classes from its bootclasspath, i.e. Sun's implementation and the internals of the implementation are different (no surprise here, kaffe is a clean-room effort). In order to fix it, you need to supply it with a bootclasspath that points to the classes being compiled. Just take a look at the JAVAC_FLAGS above.


cheers,
dalibor topic


_______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to