From: benfante AT dafne DOT dei DOT unipd DOT it (Lucio Benfante) Subject: WinMainCRTStartup again 23 Jan 1997 03:03:21 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <9701230955.AA05760.cygnus.gnu-win32@dafne.dei.unipd.it> Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi, I have a problem (only one? :)) in linking a GUI application. I know this question has been already posed, but I didn'd find the answer in the mailing list archive on the Web. Sorry. For example, when I compile and link the classical HELLOWIN program (from Programming Windows 95 by Petzold): gcc -c -o hellowin.o hellowin.c gcc -o hellowin.exe hellowin.o -luser32 -lgdi32 -Wl,--subsystem,windows I receive the warning: /cygnus/H-i386-cygwin32/bin/ld.exe: warning: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000 Where can I find the WinMainCRTStartup function? Thanks in advance Lucio Benfante ----------------------------------------------------------------------- | Benfante Lucio | benfante AT milliways DOT stat DOT unipd DOT it | | via Monteriondo 14 | benfante AT dafne DOT dei DOT unipd DOT it | | 37032 Monteforte d'Alpone (VR) | Facolta' di Statistica | | ITALIA | Universita' di Padova | ----------------------------------------------------------------------- - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".