delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/23/22:23:34

From: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Subject: RE: WinMainCRTStartup again
23 Jan 1997 22:23:34 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <009AED23.0AE72600.8134.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
Original-To: benfante AT dafne DOT dei DOT unipd DOT it
Original-CC: gnu-win32 AT cygnus DOT com, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi, you wrote:

: gcc -o hellowin.exe hellowin.o -luser32 -lgdi32 -Wl,--subsystem,windows

: /cygnus/H-i386-cygwin32/bin/ld.exe: warning: cannot find entry symbol
:   _WinMainCRTStartup; defaulting to 00401000

Just try as you would under unix:
 gcc -o hellowin.exe hellowin.o
Telling the beast that it really is Windows seems to make it angry 8-) 


Bye, Heribert (dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
For help on using this list, 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