Changes between Version 1 and Version 2 of Building/CrossCompiling/iOS


Ignore:
Timestamp:
Feb 27, 2013 9:55:51 PM (14 months ago)
Author:
StephenBlackheath
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/CrossCompiling/iOS

    v1 v2  
    11= Cross-compiling GHC to iOS = 
    22 
    3 Status of cross-compilation to iOS is in ticket #7724. It also requires a pull request for Cabal, which is at https://github.com/haskell/cabal/pull/1210 
     3Status of cross-compilation to iOS is in ticket #7724. It also requires a pull request for Cabal, which is at https://github.com/haskell/cabal/pull/1214 
    44 
    55Currently we do not build fat binaries (we'd like to fix this), which means you need to choose the right architecture for your device. 
     
    152152=== 8. Build and run === 
    153153 
    154 Run the project again as usual, and your program should now run on your iOS device. 
     154Run the project again as usual, and Xcode will pick up the haskell.a file and your Haskell code should now run on your iOS device. Anything printed with putStrLn will appear in the Xcode runtime console. 
    155155 
    156156Each time you modify your Haskell code you'll need to re-compile from the command line before re-building in Xcode. It is possible to automate this in Xcode if you wish.