[Haskell-cafe] Cross compiling Haskell from Linux to Windows with GHCs LLVM backend?
gtener at gmail.com
Fri Jun 13 06:03:36 UTC 2014
In the past I have succesfully compiled with Windows build of GHC simply by
using Wine. It might work for you as well. It worked surprisingly well and
without a single problem at the time. I was using GHC 6.8.2 back then.
On Tue, Jun 10, 2014 at 10:59 AM, Rob Stewart <robstewart57 at gmail.com>
> I compile my code with GHC on Linux, and don't have ready access to a
> Windows or a Mac operating system. Is it possible to use the GHC LLVM
> backend as a means to cross compile Haskell code to target multiple
> operating systems? I had envisaged it possible to generate the LLVM IR
> using GHCs -keep-llvm-files flag, and using LLVMs target triple flag
> to specify the CPU architecture and operating system of the users
> machine. I'd like to compile on Linux, to target WIndows and Mac
> Strangely I cannot find blog posts or tutorials online for
> cross-compiling Haskell with GHC via LLVM.
> Is it possible? Thanks,
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe