GHC - Cygwin Installation and also DirectX (fwd)

Reuben Thomas
Wed, 7 Mar 2001 13:04:59 +0000 (GMT)

Sigbjorn says:

Link with -mwindows (if going via gcc to get at
the linker.) i.e., if using the std hello.lhs app

 ghc -o hello hello.lhs -static -package win32 -optl-mwindows

that'll get you a non-console app with mingw. Think
it'll do the trick with cygwin too.