This is the mail archive of the
mailing list for the Cygwin project.
Re: g++ linker problem with libcygwin.a
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 23 Oct 2011 20:22:43 +0200
- Subject: Re: g++ linker problem with libcygwin.a
- References: <firstname.lastname@example.org>
On Sat, Oct 22, 2011 at 9:18 PM, Philipp Kraus wrote:
> I use Cygwin with g++ for compiling my source codes and on some codes I get
> the error:
> undefined reference to `_WinMain@16'
If there is no main(), libcygwin.a gives you a last chance: maybe
there is a WinMain function defined in your code, which will be called
by libc to start the program.
(or something like that)
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple