This is the mail archive of the
mailing list for the Cygwin project.
Re: g++ linker problem with libcygwin.a
On 10/22/2011 5:48 PM, Philipp Kraus wrote:
> I have checked each library (*.dll, *.a, *.dll.a) but no library file as
> got a reference to the _WinMain
> and I use the -mconsole linker flag. I don't understand why the linker
> creates the error on some
> codes and on other code there is no error. Linker options are the same
Sorry I missed the obvious, from your first message the library in
question is libcygwin.a :
$ nm /usr/lib/libcygwin.a | grep WinMain
I'm not sure why this static library is pulled. I also don't know what
it is, cygwin1.dll doesn't have the reference.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple