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.
Regards
Jan
On Sat, Nov 12, 2016 at 1:52 AM, Jan von Löwenstein <jan.loewenstein@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 associatesunix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net