Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <01b001c336aa$603a2770$12760251@ximenes> From: "Cliff Hones" To: , References: Subject: Re: Yet another undefined _WinMain16... Date: Thu, 19 Jun 2003 22:33:07 +0100 Organization: Aonix Europe Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > I changed it back. Per other comments, I can certainly get a linked output > file by using the --shared switch, but that doesn't generate a windows > executable file. I think from context that it's probably generating a library > image instead. > > So, I'm still not sure what's going on. I'm surprised you expect anyone on this list to know what's going on, given how little information you've given. I assume you did try removing the "static" from your declaration of main(...), as I first suggested. Time to read http://cygwin.com/problems.html and http://www.catb.org/~esr/faqs/smart-questions.html carefully. [Well, actually, the time to do that was before your first post.] -- Cliff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/