delorie.com/archives/browse.cgi | search |
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 |
X-Authentication-Warning: | hp2.xraylith.wisc.edu: khan owned process doing -bs |
Date: | Fri, 6 Jul 2001 00:25:13 -0500 (CDT) |
From: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
To: | Mo DeJong <mdejong AT cygnus DOT com> |
cc: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: Problem choosing exe entry point. |
In-Reply-To: | <Pine.SOL.3.91.1010705215806.2695B-100000@cse.cygnus.com> |
Message-ID: | <Pine.HPP.3.96.1010706002321.27159D-100000@hp2.xraylith.wisc.edu> |
MIME-Version: | 1.0 |
On Thu, 5 Jul 2001, Mo DeJong wrote: > I think I have found a problem with the way Cygwin ld > picks the executable entry point when both WinMain() and main() > are available. I would think that passing in the -mwindows flag > (which gets passed to ld as --subsystem windows) would clear > things up and link with WinMain(). Instead, Cygwin ld is > choosing main(). I would consider this a quality of implementation issue rather than a bug. Having both main and WinMain is rather ambiguous under most circumstances, and I'm not sure I'd qualify this as a bug. Mo, do you have any reason to have both, or do you have a project that defines both? Regards, Mumit -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |