[Haskell-cafe] Cross-compiling GHC

David Johnson djohnson.m at gmail.com
Mon Apr 17 21:22:42 UTC 2017

One (simple?) solution is to use the Nix package manager. Integer-simple
GHCs were recently added (available on both Darwin and Linux afaik). After
downloading the nix package manager, simply run:

*nix-shell -p haskell.compiler.integer-simple.ghc802*

The above command will put you into a shell with an integer-simple GHC-8.0.2

For more info on nix and haskell, this is a good guide:

Along with what is mentioned in the nixpkgs manual.

- David

On Mon, Apr 17, 2017 at 7:56 AM, Jan von Löwenstein <
jan.loewenstein at gmail.com> wrote:

> Hi,
> I would like to have an integer-simple GHC for Mac and Linux. As there is
> no official download for that I should probably build it myself.
> My CI server is running Linux containers though.
> When https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling says
> "build must equal host", does that mean I cannot produce a mac ghc with
> Linux ci server? How do others produce ghc for mac or Windows?
> Best
> Jan
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

Cell: 1.630.740.8204
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170417/d7a4206c/attachment.html>

More information about the Haskell-Cafe mailing list