According to this post on the gcc mailing list a few years back, gcc's -mwindows option should imply --Wl,subsystem,windows:
http://gcc.gnu.org/ml/gcc-help/2004-01/msg00225.html I find, however, that I'm getting different behaviour when passing --Wl,subsystem,windows explicitly. (Without it, stdout from mintty opens a console, but with it, the output ends up in the mintty window itself. No idea how the latter comes about.) What is the intended behaviour for -mwindows, and should it be used at all? Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/