delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/02/23:51:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040602233135.03235e20@pop.theworld.com>
X-Sender:
Date: Wed, 02 Jun 2004 23:45:19 -0400
To: Clive Levinson <clivel AT bundu DOT com>, Cygwin List <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: gcc Unicode and _WinMain AT 16
In-Reply-To: <4.3.2.7.2.20040602090818.0184fa10@pop.1and1.com>
References: <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20040601000627 DOT 018162d8 AT popmail DOT compuserve DOT com> <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20040601000627 DOT 018162d8 AT popmail DOT compuserve DOT com> <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20040602090818 DOT 0184fa10 AT pop DOT 1and1 DOT com>
Mime-Version: 1.0

At 12:26 PM 6/2/2004, you wrote:
>At 22:46 01/06/2004 -0400, Larry Hall wrote:
>
>>This is really a question for the MinGW list at mingw.org.  You're using
>>the -mno-cygwin switch to gcc which means you're not using Cygwin.  By
>>definition, this fact makes the question off-topic for this list.  If
>>you google around a bit though, you'll probably find out why you get this
>>problem.  Setting UNICODE changes the provided entry point to
>>wWinMainCRTStartup.  You'll need to specify this entry point explicitly
>>in your link line to get it to build properly.
>
>Hi Larry,
>Thanks for the reply, unfortunately -mno-cygwin seems to be a bit
>of a step child, the MinGW group considers it a Cygwin topic, and the
>Cygwin group considers it a MinGW topic.
>
>I did spend a fair bit of time using google, before posting to the group,
>unfortunately I was unable to find an answer, other than realising that I
>would need to change the entry point. I have tried various entry points:
>-e _wWinMainCRTStartup
>-e wWinMainCRTStartup
>-e WinMainCRTStartup
>etc.
>All of these give the error :  "cannot find entry symbol .." as well
>as the undefined reference to `_WinMain AT 16' error.
>Using
>-e _WinMainCRTStartup
>I don't get the "cannot find entry symbol ...", but still get the undefined
>reference to _WinMain AT 16.
>I have pretty much exhausted all the search terms I can think of in google,
>so any help would be appreciated.


You don't need to cc me.  I set my reply-to to the list because that's 
where I like to read any replies.

If you can send a simple, small example to the list, I'll see if I can
find some time to try to investigate your problem. 



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019