delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/19/17:17:12

Message-Id: <200306192117.h5JLH9Z06558@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: foomf AT attbi DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Yet another undefined _WinMain16...
Date: Thu, 19 Jun 2003 21:11:32 +0000
X-Authenticated-Sender: Zm9vbWZAYXR0YmkuY29t

> cgf quoted and wrote:
> > >>The FAQ and the CygWin mailing list indicated that there might be some
> > >>advantage to renaming /usr/lib/libm.a to /usr/lib/libm.a.16bit but that
> > >>had no effect.
> > >
> > >That looks like bogus information.  Rename it back to its correct name.
> > 
> > It is surely bogus information.  I can't find anything in the FAQ which
> > suggests this.  If it really is there somewhere, I'd appreciate a pointer
> > so that it can be fixed.
> 
> It isn't in the FAQ.  It was in the following misguided posting
> from Martin Gainty:
>   http://cygwin.com/ml/cygwin/2003-04/msg01587.html
> 
> Maybe it is time to add to the FAQ (or emphasize, if I've missed it)
> that _WinMain AT 16 is *absolutely nothing* to do with 16-bit code or
> libraries.  [To anyone curious, I believe it indicates that WinMain is a
> function which takes a parameter list of exactly 16 bytes, and pops them
> off the stack before returning to the caller - ie it follows the
> Pascal/stdcall/winapi convention.]
> 
> -- Cliff

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.

--
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/

- Raw text -


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