Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 16 Sep 2003 18:29:47 -0300 (ADT) From: James MacLean To: Cygwin List Subject: Re: Compiling with Cygwin-1.5.4-1 gives symbol errors In-Reply-To: <5.1.0.14.0.20030916161551.025b5a20@127.0.0.1> Message-ID: References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20030916161551 DOT 025b5a20 AT 127 DOT 0 DOT 0 DOT 1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 16 Sep 2003, Larry Hall wrote: > >gcc -mwindows -o hello hello.c > >gives: > >/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > >warning: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000 > > > >Simple solution :)?, > > > Sure. Eliminate "-mwindows". But I very much doubt this _warning_ is having > any affect on the ability of your program to run. Feel free to prove me > wrong with a concrete example. Thanks for the quick response. I know my app was not working, so I am going back through what appears to be different when I compile with the latest CygWin. These errors are the first thing to explain away :). Why may I ask are they now there but were not there before? If I need (want) no console window, hence the -mwindows, is there now a more correct compile time option? > -- > Larry Hall http://www.rfk.com > RFK Partners, Inc. (508) 893-9779 - RFK Office > 838 Washington Street (508) 893-9889 - FAX > Holliston, MA 01746 thanks again, Jes -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/