This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: -mwindows
- To: John Dye <J dot M dot Dye at newcastle dot ac dot uk>
- Subject: Re: -mwindows
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Tue, 30 Jun 1998 23:47:51 -0500 (CDT)
- Cc: gnu-win32 at cygnus dot com
On Tue, 30 Jun 1998, John Dye wrote:
> Hi, I'm new to C programming, and am having some trouble getting things to
> work. In particular, I can't getting g++ to reckise the option -mwindows,
> it just reports an unknown option message. What am I doing wrong or what
> haven't I done that I should have?
>
In the current release, it's only valid for *linking*, not when compiling.
% g++ -c foo.c
% g++ -o foo -mwindows foo.o
Works. It'll be fixed in the next release.
btw, you should definitely use the search facility to look for articles on
similar topics. See http://www.cygnus.com/ml/gnu-win32/ for more info on
how to search.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".