delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/01/10:31:01

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: -mwindows
1 Jul 1998 10:31:01 -0700 :
Message-ID: <Pine.SUN.3.93.980630234557.25847G-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <Pine DOT GSO DOT 3 DOT 95-960729 DOT 980630103441 DOT 5440A-100000 AT finan DOT ncl DOT ac DOT uk>
Mime-Version: 1.0
To: John Dye <J DOT M DOT Dye AT newcastle DOT ac DOT uk>
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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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