Mail Archives: cygwin/1997/11/03/05:01:05
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 -