public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: jeffdbREMOVETHIS@netzone.com (Mikey)
To: GBradfor <GBradfor@fhssmtp.redstone.army.mil>, gnu-win32@cygnus.com
Subject: Re: Command line options
Date: Wed, 29 Oct 1997 02:35:00 -0000	[thread overview]
Message-ID: <3456d1b5.25076787@smtp.netzone.com> (raw)
In-Reply-To: <0008847F.3272@fhssmtp.redstone.army.mil>

-MT just links with the multi threaded vc++ libs, see win32.mak
in the Platform SDK and the headers for docs on this.

--subsystem windows is the ld.exe command line option.

This can be passed to ld.exe (the linker) by gcc.exe (the compiler driver) by putting
-Wl,--subsystem,windows on the gcc command line
note the use of , instead of space.

the best ? option to use is -mwindows	(libuser32.a) 	(libgui32.a)
this will automatically pass --subsystem windows -luser32 and -lgui32
to the linker.

Geoff, could we get this changed to -windows
-m gets misread by cpp as a processor spec, which
makes -mwindows unless for -I options in specs.

Use the source luke. ;^)

On Tue, 28 Oct 1997 08:53:55 -0600, you wrote:

>     I have been reading over the README file that comes along with the 
>     cygwin32 package, particularly the part on "How to Write a GUI 
>     Application."  As the reader knows, this section lists all of the 
>     libraries that might possibly need to be included to support the SDK.  
>     Also, it states that the command line option "--subsystem,windows" 
>     should be used.
>     
>     Now, I realize that this is VERY similar to the VC++ option 
>     "SUBSYSTEM:windows."  However, I have looked through all the 
>     documentation I can find at the Cygnus site and have not been able to 
>     find this option (or the listed libraries) documented anywhere.  Where 
>     should I REALLY be looking?
>     
>     While we're on the subject, VC++ supports an option "-MT" for 
>     compiling multithreaded applications.  Is there something similar for 
>     gcc?
>     
>     Thanks for your patience.
>     
>     /s/
>     Pat Bradford
>     
>     Please respond to:
>        gbradfor@redstone.army.mil
>                AND/OR
>        p_n_brad@traveller.com
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>

(jeffdbREMOVETHIS@netzone.com)
delete REMOVETHIS from the above to reply
         Mikey
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

      reply	other threads:[~1997-10-29  2:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-28  8:31 GBradfor
1997-10-29  2:35 ` Mikey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3456d1b5.25076787@smtp.netzone.com \
    --to=jeffdbremovethis@netzone.com \
    --cc=GBradfor@fhssmtp.redstone.army.mil \
    --cc=gnu-win32@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).