This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling with Cygwin-1.5.4-1 gives symbol errors

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                    
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746

thanks again,

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]