[Haskell-iPhone] Who's got a toolchain actually building executables that they can deploy to iOS devices?

mikel evins mevins at me.com
Wed Nov 3 01:09:54 EDT 2010


So I notice iPwn's GHC controbutions, though their current state is slightly unclear, as is the current procedure (if any) for actually using them.

I have been able to get jhc to compile an executable, but am at a bit of a loss as to what to do with it once it's built. (Perhaps I can build a static library and drop it into an XCode project?)

I also note that section 4 at http://www.haskell.org/haskellwiki/IPhone, which purports to describe how to build for the iPhone using jhc, doesn't actually work with my install of XCode 3.2.4, as "arm-apple-darwin-gcc" exists nowhere on my system. I got a simulator build to work using the following settings:

[iphoneSim]
cc=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
merge=le32

All corrections and advice gratefully received.

--me



More information about the iPhone mailing list