Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <00e401c3369a$d58d8130$12760251@ximenes>
From: "Cliff Hones" <cliff@aonix.co.uk>
To: <cygwin@cygwin.com>
References: <E19SuJv-00048l-00@mailgate.aonix.co.uk> <009701c3363d$1dd4dbe0$12760251@ximenes> <20030619181830.GB6540@redhat.com>
Subject: Re: Yet another undefined _WinMain16...
Date: Thu, 19 Jun 2003 20:41:52 +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

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



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

