<div dir="ltr"><div><div><div><div>Hi<br><br>Not that this will get your hopes up, but my two cents...<br><br>I have never been able to get wine to play along. GHC tends to fail when I use wine (exceptions, dll's that misbehave). Maybe it behaves better now. If you manage to make it work, please, let us know. I use hudson to recompile packages for multiple architectures, and windows gives me most of the headaches.<br>

<br></div>If you use llvm's backend, I wonder what would happen the moment you use Template Haskell. I have just recently started to use the Android backend, and I expect problems. (But maybe I'm mistaken.)<br><br>

</div>So far I use Windows in a VirtualBox VM. That approach (obviously) works.<br><br></div>I'll celebrate the day when ReactOS works as a full replacement of Windows.<br><br></div>Ivan<br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On 13 June 2014 08:03, Krzysztof SkrzÄ™tnicki <span dir="ltr"><<a href="mailto:gtener@gmail.com" target="_blank">gtener@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div>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.<br>



<br></div>--<br></div>Krzysztof<br><div><div><div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 10:59 AM, Rob Stewart <span dir="ltr"><<a href="mailto:robstewart57@gmail.com" target="_blank">robstewart57@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I compile my code with GHC on Linux, and don't have ready access to a<br>
Windows or a Mac operating system. Is it possible to use the GHC LLVM<br>
backend as a means to cross compile Haskell code to target multiple<br>
operating systems? I had envisaged it possible to generate the LLVM IR<br>
using GHCs -keep-llvm-files flag, and using LLVMs target triple flag<br>
to specify the CPU architecture and operating system of the users<br>
machine. I'd like to compile on Linux, to target WIndows and Mac<br>
machines.<br>
<br>
Strangely I cannot find blog posts or tutorials online for<br>
cross-compiling Haskell with GHC via LLVM.<br>
<br>
Is it possible? Thanks,<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Rob<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></span></blockquote></div><br></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>