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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 14 Apr 2003 20:11:19 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Martin Gainty <mgainty@hotmail.com>
cc: cygwin@cygwin.com
Subject: Re: Idiotic question
In-Reply-To: <Law10-OE3103oHMwVN700001b19@hotmail.com>
Message-ID: <Pine.GSO.4.44.0304142007290.26381-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Martin,

It took a bit of detective work to figure out what your problem is.  Let
me guess, you're getting an 'Undefined reference to WinMain@16', aren't
you?  If you are, did you look at the FAQ:
<http://cygwin.com/faq/faq_4.html#SEC95>?

If I did guess correctly, please read the following in addition to the FAQ:
<http://www.catb.org/~esr/faqs/smart-questions.html>.
	Igor

On Mon, 14 Apr 2003, Martin Gainty wrote:

> so what you are trying to say is that is a function signature
> understood..
> Is there a def file I can configure to reconcile the _WinMain@16 for my
> linker
> Thanks!
> Martin
> ----- Original Message -----
> From: "Max Bowsher" <maxb@ukf.net>
> To: "Martin Gainty" <mgainty@hotmail.com>; <cygwin@cygwin.com>
> Sent: Monday, April 14, 2003 3:36 PM
> Subject: Re: Idiotic question
>
> > Martin Gainty wrote:
> > > Max-
> > > I tracked the problem to libcygwin.a
> > > I have to locate libcygwin.a, as well as the binaries gcc, ld, dlltool
> > > that are 32bit
> > > (instead of pointing to default _WinMain@16 code)
> >
> > You are confused. The 16 in _WinMain@16 has nothing to do with 16-bit.
> > You are panicing for no reason.
> >
> > Cygwin is 32-bit.
> >
> > Max.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

