Changes between Version 8 and Version 9 of Building/CrossCompiling


Ignore:
Timestamp:
Jan 18, 2013 4:15:05 PM (15 months ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/CrossCompiling

    v8 v9  
    114114You can do this even without installing your cross-compiler, just use `$TOP/inplace/bin/ghc-stage1` as `<cross-ghc>`. 
    115115 
    116 NB. you should ensure that the cross-compiled packages won't conflict with your native packages; one way to do this is to modify your `$HOME/.cabal/config` to include the platform in the installation directory for packages: 
     116NB. you should ensure that the cross-compiled packages won't conflict with your native packages.  If the version of your `cross-ghc` is dated, such as 7.7.20130116, then that may be enough to avoid a conflict. 
     117 
     118Another way to do this is to modify your `$HOME/.cabal/config` to include the platform in the installation directory for packages: 
    117119 
    118120{{{ 
     
    121123}}} 
    122124 
     125Unfortunately this '''does not work''' at the moment, because `cabal` uses the wrong values for `$arch` and `$os`, see [https://github.com/haskell/cabal/issues/1184].