Relative Content

Tag Archive for linuxwindowshaskellcross-compilingghc

Can I compile on Linux and target Windows?

I have my Linux system where I develop Haskell code , and I came up with a Haskell program that I want to port to Windows. All I can do on the latter is literally copy an executable and run it; I can’t install anything on it.

Can I compile on Linux and target Windows? Is so, how?

The scenario is that I have my Linux system, where I developed a Haskell program, and I want to produce an executable for a Windows system¹. All I can do on the latter is literally copy an executable and run it; I can’t install anything on it.