Changes between Version 43 and Version 44 of Building/CrossCompiling/iOS


Ignore:
Timestamp:
Oct 30, 2013 12:38:01 AM (6 months ago)
Author:
lukexi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/CrossCompiling/iOS

    v43 v44  
    4848./configure --target=arm-apple-darwin10  --with-gcc=arm-apple-darwin10-gcc 
    4949make 
    50 sudo mkdir -p /usr/local/ghc-ios/ 
    5150sudo make install 
    5251}}} 
     
    5756./configure --target=i386-apple-darwin11 --with-gcc=i386-apple-darwin11-gcc 
    5857make 
    59 sudo mkdir -p /usr/local/ghc-ios-sim/ 
    6058sudo make install 
    6159}}} 
    6260 
    6361For Xcode 5, change {{{--with-gcc=arm-apple-darwin10-gcc}}} / {{{--with-gcc=i386-apple-darwin11-gcc}}} to {{{--with-gcc=arm-apple-darwin10-clang}}} / {{{--with-gcc=i386-apple-darwin11-clang}}} , respectively. 
     62 
     63GHC is smart enough to prefix the binaries and libraries with the target name, e.g. arm-apple-darwin10-ghc, so this will install alongside your native GHC without overwriting anything. 
    6464 
    6565=== 6. Make sure your Cabal and cabal-install are new enough ===