This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: compile error
- To: Steve Zielinski <stevzie at yahoo dot com>, cygwin at sources dot redhat dot com
- Subject: Re: compile error
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 11 Oct 2000 12:13:38 -0700 (PDT)
--- Steve Zielinski <stevzie@yahoo.com> wrote:
> I'm receiving a compile time error message that I could use some help
> interpreting:
>
> /usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined reference
> to
> `WinMain@16'
> collect2: ld returned 1 exit status
>
Add a -mwindows switch to the link.
Cheers,
=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com
--- <http://earniesystems.safeshopper.com> ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
--- Minimalist GNU for Windows <http://www.mingw.org/> ---
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com