From: Arno P. <ar...@pu...> - 2011-01-10 17:27:32
|
Guys, a few days ago I posted a reply giving two examples on how to use the C backend. We have since integrated the C backend better into the XMLVM processing pipeline. Here is how to do the two examples I mentioned earlier using the latest version of XMLVM: java -Xmx700m -jar dist/xmlvm.jar --target=posix \ --in=bin/org/xmlvm/test/ReflectionTest.class \ --out=ReflectionTest cd ReflectionTest/dist make ./build/ReflectionTest Note that there is a --target=posix now. This target will generate a self-contained project as well as a Makefile to make compiling easier. For the posix target we also now include the garbage collector. This means that you can cross-compile a Java program to any standard Posix platform! Here is how to compile iFireworks with the simplified XMLVM pipeline: cd demo/iphone/ifireworks ant cd - java -Xmx700m -jar dist/xmlvm.jar --target=iphone-c \ --app-name=iFireworks \ --resource=demo/iphone/ifireworks/res/ \ --in=demo/iphone/ifireworks/build/classes/ \ --out=ifireworks open ifireworks/dist/iFireworks.xcodeproj What is still missing is the implementation of native methods as well as the Cocoa wrapper for iOS applications. But things are moving along nicely. Arno |