Mail Archives: cygwin/2003/04/14/20:31:06
On Mon, 14 Apr 2003, Christopher Faylor wrote:
> On Mon, Apr 14, 2003 at 08:11:19PM -0400, Igor Pechtchanski wrote:
> >It took a bit of detective work to figure out what your problem is. Let
> >me guess, you're getting an 'Undefined reference to WinMain AT 16', aren't
> >you? If you are, did you look at the FAQ:
> ><http://cygwin.com/faq/faq_4.html#SEC95>?
>
> Except the FAQ is out of date. libm.a is no longer a symlink to libm.a. It
> may still be an issue but the FAQ should be changed to remove the symlink
> reference.
> cgf
Umm, yes, quite true. I was actually able to reproduce the problem with
"gcc -lcygwin t.c".
There could be a couple of reasons for this, actually: main() could be
missing altogether (typo?), or "-lcygwin" appears in the compile command
before the source (one way that could happen is if "-lcygwin" were added
to CFLAGS instead of LIBS in a Makefile or a configure invocation
command).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Knowledge is an unending adventure at the edge of uncertainty.
-- Leto II
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -