[commit: ghc] master: Tidy up cross-compiling (109a1e5)

Stephen Paul Weber singpolyma at singpolyma.net
Fri Jan 18 17:17:27 CET 2013

Somebody claiming to be Simon Marlow wrote:
>On 18/01/13 15:25, Stephen Paul Weber wrote:
>>Somebody claiming to be Simon Marlow wrote:
>Right, I didn't know that autoconf would automatically look for the tools 
>as <platform>-tool.  I'll update the docs.

Cool.  Looks good.

>>cabal --with-ghc=<cross-ghc> --with-ld=<ld> ...
>Ah, in my case the GHC I built was called ghc-7.7.20130116, so it didn't 
>clash with anything else in .cabal.  You could also configure your cabal to 
>put the arch/os in the directory name.

~/.cabal/bin ?

Nothing in ~/.cabal looks prefixed to me, by default.  Maybe my cabal is 
just old.

Do I need to tell it where to find ghc-pkg, or does that not matter?

Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130118/fb806462/attachment.pgp>

More information about the ghc-devs mailing list