How can I compile a GUI executable with ghc?

后端 未结 2 1289
我在风中等你
我在风中等你 2021-01-06 08:52

I ported a little Haskell program I wrote from Mac to Windows. It\'s a GUI application (wxHaskell, compiled with ghc 6.12.1), so it does not need the command prompt window t

2条回答
  •  甜味超标
    2021-01-06 09:00

    I don't have access to GHC on Windows, but it looks like you need to tell linker to use "windows" subsystem. ghc -optl-mwindows ... may work.

提交回复
热议问题