Hello! I have ported kaffe-1.0.7 for eCos on the MCF5280 Coldfire platform. I have adapted kaffe-1.0.7 with some midifications, which are made by the sinby developers. Since i have no success on this port, i have tried to port kaffe-1.0.7 for eCos for the i386 platform. I have compiled kaffe with success. I have written a "Hello World" Java application and integrated the Hello.class format into my romfs.h image.(first i have created an romfs.img image with "mk_romfs" -binary and finally convert to a romfs.h file with a bin --> hex tool, then putting romfs.h into kaffe-1.0.7/config/i386/ecos/md.h and mount the romfs with
MTAB_ENTRY( romfs_mte1, "/", "romfs", "", (CYG_ADDRWORD) &bin_data[0] ); When running kaffe, the initialisation looks fine. Also the main2 method seems to be ok, because my Hello.class file was found and the number of arguments are ok. But when invoking the static "main"-method from Hello-application by "(*env)->CallStaticVoidMethod(env, mcls, mmth, args)", i do not see the output message "Hello world". Can anybody find the reason for that? I need your help!!! Thanks, _______________________________________________ kaffe mailing list [email protected] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
