On Mon, 2 Jan 2012, David Anderson wrote:
>
> BTW, is there a cross-compilation system for iOS?
> (e.g. on Mac OS X)

The IDE for iOS is Xcode, just as for MacOS X. The compiler is gcc (4.2 or 
4.0) or you can use LLVM.  Either cross-compiles to ARM for the device 
binary.  You develop on Mac and can either test with a simulator or push 
out to a connected device, or pack it up for approved beta testers to 
install on their own devices (called ad-hoc distribution), or eventually 
for distribution via the app store.

The frameworks are similar, but not the same (and that will bite you 
sometimes).  The GUI is all in Objective-C, but it's possible to also mix 
in C and C++ code.  I've been using it for a while now, but I didn't know 
that wxWidgets was supported in iOS.  But it's not clear that would be the 
best way to do the UI.  And from their forums, as of July, it's not yet a 
complete port. http://forums.wxwidgets.org/viewtopic.php?f=23&t=30590#p131112

I could try building a sample if there is one, and share the binary
via ad-hoc distribution, since I have a code-signing key.  (Anybody who 
wants to try it would just have to do a simple device registration with 
me.)

There is, however, a fundamental incompatibility between the GPL 
and Apple's conditions for distribution via the app store.  It may be
possible to get around it with dual licensing, for code that you can do 
that with, but if you use GPL code from someone else you probably can't 
use it in an app distributed via Apple.  I don't know if that would be a 
show-stopper here or not.

-Eric
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to