From: Barry L. <bar...@ao...> - 2010-09-09 00:59:24
|
Arno- Thanks for the tip, that gives me a starting point. What is the plan for implementing the native methods that will be needed by the OpenJDK classes? Will they all be hand-implemented, or will you try to use OpenJDK's own C implementations of the native methods? That strikes me as a bigger implementation headache than the number of dependencies you are encountering (I'm sad to say I'm not surprised at the 3K dependencies on Hello World; I don't think you're going to be able to whittle that down by too much without losing some potential functionality). -----Original Message----- From: Arno Puder <ar...@pu...> To: xmlvm-users <xml...@li...> Sent: Wed, Sep 8, 2010 4:33 pm Subject: Re: [xmlvm-users] Examples for iphone-c target note that the C backend is undergoing rapid changes. Today we managed to get a first version of iFireworks (XMLVM's trademark application) working with the C backend. Make sure you update XMLVM and then try this: ant java -Xmx700m -jar dist/xmlvm.jar --target=iphone-c \ --app-name=iFireworks \ --resource=demo/iphone/ifireworks/ires/ \ --in=build/demo/iphone/ifireworks/org/xmlvm/demo/ifireworks \ --out=out open out/iFireworks.xcodeproj/ There are two big todo items at this point: 1. Implement the Cocoa wrappers. In many cases it should be possible to migrate the existing Objective-C wrapper. 2. OpenJDK: the iFireworks demo uses hand-written versions of dependent J2SE classes (such as java.lang.String). Our plan is to cross-compile OpenJDK. The good news is that the C backend is powerful enough to cross-compile OpenJDK. But the bad news is that we are struggling with dependencies. A simple Hello World pulls in 3000(!) classes from the OpenJDK. Things are moving fast and I'm sure we'll find solutions to the remaining problems. Stay tuned. Arno On 9/8/10 3:35 PM, Barry Linsdau wrote: > > > Are there any "Hello World" examples of the new "iphone-c" target out > there? None of my experiments seem to be generating anything that will > compile. > > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |