Thanks Simon - I've added that to a list of loose ends on the Building/CrossCompiling/iOS wiki page. All - I've fixed the issues with http://hackage.haskell.org/trac/ghc/ticket/7722, so everything should now be working. Anyone who wants to try it now should either apply all the patches associated with "Blocked By" of http://hackage.haskell.org/trac/ghc/ticket/7724, or check out http://github.com/ghc-ios/ghc on the 'master-merge-ios' branch. Steve On 01/03/13 04:44, Simon Marlow wrote:
On 27/02/13 21:34, Stephen Blackheath [to GHC-iPhone] wrote:
All,
Cross-compiling GHC to iOS: http://hackage.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS
Great. The point about dead-code removal is interesting: we have special hacks so that you don't have to disable dead-code removal on OS X, in the native code generator and (I presume) in the LLVM backend. Perhaps this just needs to be adapted to work on iOS too?
On the other hand, the special hack involves adding lots of extra symbols, so perhaps it's better to just disable dead-code removal.
Cheers, Simon