[Haskell-cafe] Cross compilation

Brandon Allbery allbery.b at gmail.com
Sat Nov 12 18:05:32 UTC 2016


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/ec8b4b01/attachment.html>


More information about the Haskell-Cafe mailing list