delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/17/16:51:07

From: ulittj00 AT mcl DOT ucsb DOT edu (Joshua J Little)
Subject: Re: first time compiling windows app with gcc
17 Dec 1997 16:51:07 -0800 :
Message-ID: <Pine.HPP.3.96.971217123816.27005A-100000.cygnus.gnu-win32@mcl.ucsb.edu>
References: <000c01bd0abe$5ce1ae40$4e804dd1 AT cs116bf DOT ihug DOT co DOT nz>
Mime-Version: 1.0
To: =?iso-8859-1?Q?Kurt_H=E4usler?= <turtill AT ihug DOT co DOT nz>
Cc: gnu-win32 AT cygnus DOT com

I think you need to type something like:
	gcc -o hello.exe hello.c -lwin32 -Wl,-subsystem,windows

Hope this helps

-
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