[Haskell-cafe] Cross compilation

Jan von Löwenstein jan.loewenstein at gmail.com
Sat Nov 12 21:17:22 UTC 2016

Thanks for the responses.

I guess I will "cross compile" via vm/docker then.
Glad that I am running on Mac, the other direction would be more difficult
I suppose.


Brandon Allbery <allbery.b at gmail.com> schrieb am Sa., 12. Nov. 2016 19:05:

> On Sat, Nov 12, 2016 at 1:52 AM, Jan von Löwenstein <
> jan.loewenstein at gmail.com> 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?
> Cross-compilation pretty much only exists for porting ghc itself at this
> point. There are some hacks involving llvm that are used for ARM
> cross-compiling.
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161112/61ca66ce/attachment.html>

More information about the Haskell-Cafe mailing list