Changes between Version 8 and Version 9 of Building/CrossCompiling
- Timestamp:
- 01/18/13 08:15:05 (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/CrossCompiling
v8 v9 114 114 You can do this even without installing your cross-compiler, just use `$TOP/inplace/bin/ghc-stage1` as `<cross-ghc>`. 115 115 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: 116 NB. 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 118 Another way to do this is to modify your `$HOME/.cabal/config` to include the platform in the installation directory for packages: 117 119 118 120 {{{ … … 121 123 }}} 122 124 125 Unfortunately 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].
