delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/17/13:13:00

From: jeffdbREMOVETHIS AT netzone DOT com (Mikey)
Subject: Re: Linking problems
17 Sep 1997 13:13:00 -0700 :
Message-ID: <34202c4e.151061269.cygnus.gnu-win32@smtp.netzone.com>
References: <19970917113417 DOT 26092 DOT qmail AT hotmail DOT com>
Reply-To: jeffdbREMOVETHIS AT netzone DOT com
Mime-Version: 1.0
To: "Fredrik Eldh" <lazermasken AT hotmail DOT com>, gnu-win32 AT cygnus DOT com

try

gcc -mwindows -o myprog.o myprog.c
gcc -mwindows -o myprog.exe myrpog.o

although -mwindows is a poor choice for
a gcc option, since it confilcts with the
-mARCH options, so it is useless as an
option to the preprocessor. Not Cygnus's
fault it came from the FSF winNT port.

..On Wed, 17 Sep 1997 04:34:17 PDT, you wrote:

>I'm a newbie when it comes to Gnu-Win32 and I'm having trouble when I 
>try to link any Win32 program. The linker says I have 'undefined 
>references' to all the Win32 API functions. I use the following command 
>line to compile and link: "gcc program.c".
>
>Now, please don't tell me to go look this up in an FAQ or something, 
>I've already done that and it didn't make me wiser.
>
>Thanks for any help,
>Fredrik Eldh
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>-
>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".
>

(jeffdbREMOVETHIS AT netzone DOT com)
delete REMOVETHIS from the above to reply
         Mikey
-
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