[kaffe] debugging kaffe117 on the arm (iphone)
dario at nycjava.net
Wed Oct 17 22:38:08 PDT 2007
Thanks to Dalibor for pointers on getting kaffe cross compiled to a new port
(arm/darwin in this case). We should document the process a bit better perhaps and
provide a way to document to a wiki of sorts. Anyway after finally successfully
cross compiling I'm now debugging run time issues:
-bash-3.2# export KAFFELIBRARYPATH=/usr/local/kaffe/jre/lib/arm
HelloIPhone.class HelloIPhone.java kaffe kaffe-bin rmiregistry
-bash-3.2# ./kaffe-bin -cp . HelloIPhone
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
This error may occur because the stack size is not sufficient.
Try to increase the stack size using 'ulimit -s' or with the '-ss'
option on kaffe.
I tried several sizes e.g. -ss1M or -ss500K with the same error, it's probably a
more sinister issue but again any pointers would be appreciated.
More information about the kaffe