delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/11/15:14:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001011191339.7943.qmail@web108.yahoomail.com>
Date: Wed, 11 Oct 2000 12:13:38 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: compile error
To: Steve Zielinski <stevzie AT yahoo DOT com>, cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

--- Steve Zielinski <stevzie AT yahoo DOT 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 AT 16'
> collect2: ld returned 1 exit status
> 

Add a -mwindows switch to the link.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019