Changes between Version 20 and Version 21 of Building/CrossCompiling/iOS


Ignore:
Timestamp:
Aug 29, 2013 7:34:28 AM (8 months ago)
Author:
StephenBlackheath
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/CrossCompiling/iOS

    v20 v21  
    6464=== 6. Make sure your Cabal and cabal-install are new enough === 
    6565 
    66 We had to patch Cabal again. Use this version for now: [https://github.com/the-real-blackh/cabal] 
     66You need a recent change,... 
     67 
     68{{{ 
     69commit 9f374ab45e62924506b992db9157c970c7259a03 
     70Author: Stephen Blackheath <stephen.blackheath@ipwnstudios.com> 
     71Date:   Thu Aug 29 13:09:18 2013 +1200 
     72 
     73    Give the xxx_HOST_OS and xxx_HOST_ARCH options that were probed from ghc's target 
     74    platform, rather than assuming HOST == BUILD. This fixes things for cross compiling. 
     75}}} 
     76 
     77...so the best thing would be to check out the latest from [https://github.com/haskell/cabal/], and build both Cabal and cabal-install. 
    6778 
    6879The ghc-ios-scripts directory you checked out earlier contains two wrappers called {{{arm-apple-darwin10-cabal}}} and {{{i386-apple-darwin11-cabal}}}. These will pass the right arguments to cabal, so you can do, for example: