Hi Mikel,

My company, iPwn Studios, modified GHC 6.10.4 to produce iPhone output with the help of Xcode.  We're using it to write a game for the iPhone.  The ghc-iphone project is open source, and is located at http://projects.haskell.org/ghc-iphone.  I'd be happy to help you get up and running with that if you'd like.


Ryan

On Fri, Nov 5, 2010 at 1:07 PM, mikel evins <mevins@me.com> wrote:

On Nov 5, 2010, at 10:59 AM, Elliott Hird wrote:

> arm-apple-darwin-gcc sounds like a manually-installed cross-compiler
> from the official gcc sources, perhaps?

Perhaps. Apple's toolchain includes compilers with similar names in the version of XCode I have installed (I have the 4.x beta toolchain). If there were just a little more information about how (and whether) the example setup at the jhc wiki page was originally made to work, I could probably adjust things appropriately for my environment.

> Could you inject the built executable into an .app?

Good question. Clearly, the cross-compiler setup is not sufficient by itself, since any actually working iOS app has to be codesigned (unless we assume jailborken devices, which, of course, I don't).

--me

_______________________________________________
iPhone mailing list
iPhone@haskell.org
http://www.haskell.org/mailman/listinfo/iphone