delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/13/00:43:59

From: fox AT cat DOT nyu DOT edu (David Fox)
Subject: Re: linking confusion
13 May 1998 00:43:59 -0700 :
Message-ID: <y5aogx3tapp.fsf.cygnus.gnu-win32@dsf.net>
References: <Pine DOT GSO DOT 3 DOT 96 DOT 980511232708 DOT 17936A-100000 AT coke>
To: "Jenny Gable (Skywind)" <jgable AT imsa DOT edu>
Cc: Cygnus GNU Win32 Mailing List <gnu-win32 AT cygnus DOT com>

"Jenny Gable (Skywind)" <jgable AT imsa DOT edu> writes:

> I'm having trouble with linking (first program, using example code), and
> found in the docs,
> 
> "The regular setup allows you to use the option -mwindows on the command
> line to include a set of the basic libraries (and also make your program
> a GUI program instead of a console program), including user32, gdi32
> and, IIRC, comdlg32."
> 
> So says the documentation, but gcc and ld both complain that -mwindows
> isn't a valid option.  So what command line is this talking about?  

It works when you are linking, but only when you are linking - no .c
files allowed, just .o and .a.
-- 
David Fox	   http://www.cat.nyu.edu/fox		xoF divaD
NYU Media Research Lab   fox AT cat DOT nyu DOT edu   baL hcraeseR aideM UYN
-
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