[Haskell-cafe] Cross-compiling GHC
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.
On Mon, Apr 17, 2017 at 7:56 AM, Jan von Löwenstein <
jan.loewenstein at gmail.com> wrote:
> 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?
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe