[Haskell-cafe] Cross compilation

Patrick Pelletier code at funwithsoftware.org
Sat Nov 12 14:08:19 UTC 2016


On 11/11/16 10:52 PM, Jan von Löwenstein wrote:
> I have a Mac OS X workstation and want to compile a cli for Linux (and 
> potentially Windows) in addition to OS X.
>
> I could not find anything but 
> https://ghc.haskell.org/trac/ghc/wiki/CrossCompilation.
> This has an explanation how I can build a cross compiling GHC for a 
> specific combination of build and target system/architecture.
> Stack has an open issue regarding cross compilation.
>
> Is that really all there is out there?

I documented my cross-compilation adventure here:

https://wiki.haskell.org/OpenWRT

However, in my opinion, cross-compilation is one of the areas where ghc 
and its ecosystem are the weakest.  You'll probably be much happier if 
you find a Linux box or install virtualization software on your Mac.

--Patrick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161112/a27ce9a1/attachment.html>


More information about the Haskell-Cafe mailing list