From: Kevin G. <ke...@co...> - 2011-02-13 12:26:43
|
Thats what I tried yep. Was building a largeish library plus some example code. I'll get the specifics of the errors when I'm back on the mac but there were 100s Kev On 12 February 2011 18:22, Arno Puder <ar...@pu...> wrote: > > Yes, the --target=iphonec instruction I mentioned below should work. Is > that what you tried? What kind of Xcode errors do you get? > > Arno > > > On Feb 12, 2011, at 2:10 AM, Kevin Glass <ke...@co...> wrote: > > I'm working off the trunk at the moment, is that up to date with the latest > backend. I just tried to build a project with the iphonec backend and ended > up with xcode project with a lot of errors. It it expected to work out of > the box yet? > > Kev > > On 11 February 2011 20:43, Arno Puder < <ar...@pu...>ar...@pu...>wrote: > >> >> Kevin, >> >> things are changing in XMLVM. We are in the middle of transitioning to >> the new C backend which will make the Objective-C backend obsolete. One >> benefit is that we can cross-compile Apache Harmony, so there is no >> longer the need for hand-writing J2SE classes in Objective-C (which >> means, the java.nio.Buffer bug will go away with the C backend). >> >> There is still API missing from both the Objective-C and the C backend. >> Patches are certainly more than welcome, however, I would prefer if you >> submitted patches for the C backend, since we will deprecate the >> Objective-C backend soon. >> >> To get you started: >> - add the missing Cocoa API in xmlvm/src/xmlvm2obj/compat-lib/java >> - run "ant gen-c-wrappers" >> - this will generate C wrappers in src/xmlvm2c/compat-lib/iphone >> - provide implementation in those wrappers between the special >> //XMLVM_BEGIN_ and //XMLVM_END_ markers >> >> If you want to use the C backend to cross-compile iFireworks, you can do >> the following: >> >> java -Xmx700m -jar dist/xmlvm.jar --target=iphonec \ >> --in=demo/iphone/ifireworks/build/classes/ \ >> --resource=demo/iphone/ifireworks/res/ \ >> --app-name=iFireworks --out=out >> >> There are also some slides in xmlvm/doc/slides that give a quick >> overview of the C backend (in the middle of the slide deck). >> >> When you have a patch, you can upload it to our review system as >> described here: <http://xmlvm.org/contribute/> >> http://xmlvm.org/contribute/ >> >> Arno >> >> >> >> >> On 2/11/11 7:03 AM, Kevin Glass wrote: >> > There's a couple of bugs in the java.nio.Buffer implementations for >> > ObjC. There's also a method on CGFont (CopyFullName) that'd be really >> > useful given the changes in iOS 4 - how do I go about submitting patches >> > for things these days? >> > >> > Kev >> > >> > >> > >> > >> ------------------------------------------------------------------------------ >> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio >> XE: >> > Pinpoint memory and threading errors before they happen. >> > Find and fix more than 250 security defects in the development cycle. >> > Locate bottlenecks in serial and parallel code that limit performance. >> > <http://p.sf.net/sfu/intel-dev2devfeb> >> http://p.sf.net/sfu/intel-dev2devfeb >> > >> > >> > >> > _______________________________________________ >> > xmlvm-users mailing list >> > <xml...@li...>xml...@li... >> > <https://lists.sourceforge.net/lists/listinfo/xmlvm-users> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> <http://p.sf.net/sfu/intel-dev2devfeb> >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> xmlvm-users mailing list >> <xml...@li...>xml...@li... >> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > > |