delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/25/15:06:58

From: drs AT inxpress DOT net (drs)
Subject: GUI apps--[was Re: problem with removing console windows]
25 Feb 1997 15:06:58 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3313555A.66C7.cygnus.gnu-win32@inxpress.net>
References: <330980FF DOT 3A6A AT cre DOT canon DOT co DOT uk> <330A7961 DOT 55A0 AT inxpress DOT net> <330C1BDF DOT 751D AT cre DOT canon DOT co DOT uk> <330C8748 DOT 729F AT inxpress DOT net> <330C8E7B DOT 3556 AT cre DOT canon DOT co DOT uk> <330CB1FA DOT 59A4 AT inxpress DOT net> <330D8C03 DOT 6E3 AT cre DOT canon DOT co DOT uk>
Reply-To: drs AT inxpress DOT net
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (Win95; I)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

The documentation states 

> How can I make a GUI app?
> =========================
> 
>    Make sure you link in the right libraries.  Finally, to prevent the
> console window from showing up, add "-ssubsystem windows" to the GCC or
> LD commandline.

But this doesn't seem to work. What are we doing wrong?

bash$ gcc -o win.exe win.o -ssubsystem windows -mwindows
gcc: windows: No such file or directory
gcc: unrecognized option `-ssubsystem'

--DRS
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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