From: dje@canuck.cygnus.com (Doug Evans)
Subject: Re: -subsystem windows
8 Dec 1996 14:05:09 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199612082132.NAA15280.cygnus.gnu-win32@canuck.cygnus.com>
Original-To: stephenc@wf.net
Original-CC: gnu-win32@cygnus.com
In-reply-to: <199612080800.CAA14857@mail.wf.net> (stephenc@wf.net)
Original-Sender: owner-gnu-win32@cygnus.com

   From: "Stephen Crowley" <stephenc@wf.net>
   Date: Sun, 8 Dec 1996 14:12:07 -0600

   Hello, I noticed when i compile gui apps that when i run them a console
   screen still pops up in the background. I read that you can do -subsystem
   windows on the gcc command line but it gives me unknown option errors, it
   works with ld but I dont want to have to specify all the seperate libs in
   the makefile. Is there anyway to use this on gcc or can somone tell me the 
   option to pass commands on to the linker.

gcc -Wl,-foo,foo-opt,-bar,bar-opt

This is documented in the gcc manual.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
