From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28071 invoked by alias); 28 Sep 2005 13:27:20 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 28016 invoked by uid 22791); 28 Sep 2005 13:27:13 -0000 Received: from c-24-61-23-223.hsd1.ma.comcast.net (HELO cgf.cx) (24.61.23.223) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 28 Sep 2005 13:27:13 +0000 Received: by cgf.cx (Postfix, from userid 201) id 151F013C08D; Wed, 28 Sep 2005 13:27:12 +0000 (UTC) Date: Wed, 28 Sep 2005 14:39:00 -0000 From: Christopher Faylor To: dannysmith@users.sourceforge.net, binutils Subject: Re: Patch; let -subsystem option on pe targets actually affect entry symbol Message-ID: <20050928132711.GA13244@trixie.casa.cgf.cx> Mail-Followup-To: dannysmith@users.sourceforge.net, binutils References: <20050927105950.49952.qmail@web50905.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050927105950.49952.qmail@web50905.mail.yahoo.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00325.txt.bz2 On Tue, Sep 27, 2005 at 10:59:50PM +1200, Danny Smith wrote: >However, I believe this may resurrect some old problems on cygwin, which >does not provide a WinMainCRTStartup fumction. There used to be >instructions in cygwin users guide on how to work-around this (ie, when >setting windows subsystem either add an explict -e _mainCRTStartup or >add a stub WinMainCRTStartup that just calls the console entry symbol), >but those instruction have been removed. It sounds like, for cygwin, the simple solution for this, is to just include a WinMainCRTStartup function which calls _manCRTStartup, right? cgf