This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch; let -subsystem option on pe targets actually affect entry symbol
- From: Christopher Faylor <me at cgf dot cx>
- To: dannysmith at users dot sourceforge dot net,binutils <binutils at sources dot redhat dot com>
- Date: Wed, 28 Sep 2005 09:27:12 -0400
- Subject: Re: Patch; let -subsystem option on pe targets actually affect entry symbol
- References: <20050927105950.49952.qmail@web50905.mail.yahoo.com>
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