delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/29/12:50:44

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 <andy DOT koppe AT gmail DOT com>
To: Cygwin Tech List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019