Mail Archives: cygwin/2004/06/02/23:51:25
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 -