X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Sun, 29 Mar 2009 18:50:25 +0100 Message-ID: <416096c60903291050r44203e40j19a83d16aebabb3d@mail.gmail.com> Subject: -mwindows and --Wl,subsystem,windows From: Andy Koppe To: Cygwin Tech List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/