delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/03/05:01:05

From: swarnerx3 AT acadia DOT net (Scott Warner)
Subject: Re: Winnie Example ----- Help !
3 Nov 1997 05:01:05 -0800 :
Message-ID: <199711031024.FAA04495.cygnus.gnu-win32@p2.acadia.net>
Mime-Version: 1.0
To: <gnu-win32 AT cygnus DOT com>

I compiled the winnie example, I think with

g++ -o winnie.exe winnie.cpp -luser32 -lgdi32 -Wl,--subsystem,windows

Be sure that the W is followed by a lowercase L (which looks the same as a
capital I with the Arial font in Windows).

----------
> From: casteeld <casteeld AT cococo DOT net>
> To: feedback AT relisoft DOT com
> Cc: gnu-win32 AT cygnus DOT com
> Subject: Winnie Example ----- Help !
> Date: Sunday, November 02, 1997 9:00 AM
> 
> I've tried to compile the Winnie example and am getting errors.
> I am using gnuwin32 for the first time and read the documentation 
> provided. I have no idea what the "STRICT compilation flag"
> is and can't find a list of command line flags for gnuwin32.
> 
> I have made all of the sugested changes to my system files.
> 
> This is the command line I used:
> g++ -o .\tmp\winnie.exe .\tmp\winnie.cpp
> 
> the result I get when I try to compile is several lines like:
> C:\TMP\cc0010001.o(.text+0x8f):winnie.cc: undefined reference to 
> 'GetMessageA AT 16eA@4'
> 
> followed by a line saying:
> 
> Internal compiler error: Program ld got fatal signal 1
> -
> 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".
-
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