[Haskell-cafe] Compiled OpenGL program has DOS window?

Henk-Jan van Tuyl hjgtuyl at chello.nl
Fri Aug 13 10:44:02 EDT 2010


On Fri, 13 Aug 2010 12:29:52 +0200, Bulat Ziganshin  
<bulat.ziganshin at gmail.com> wrote:

> Hello Henk-Jan,
>
> Friday, August 13, 2010, 2:23:58 PM, you wrote:
>
>> You can do this with the flag -optl-mwindows; this passes the flag
>> -mwindows to the linker. Because this is a linker option, you cannot  
>> find
>> it in the GHC documentation. This solution also works for other GUIs,  
>> like
>> wxHaskell.
>
> it may be added to some GHC FAQ though
>

I have added it to the HaskellWiki page GHC/FAQ [0]

Regards,
Henk-Jan van Tuyl

[0]  
http://www.haskell.org/haskellwiki/GHC/FAQ#A_DOS_shell_opens_when_my_program_opens_a_window

-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--


More information about the Haskell-Cafe mailing list