delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/16/17:30:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 16 Sep 2003 18:29:47 -0300 (ADT)
From: James MacLean <macleajb AT ednet DOT ns DOT ca>
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: Compiling with Cygwin-1.5.4-1 gives symbol errors
In-Reply-To: <5.1.0.14.0.20030916161551.025b5a20@127.0.0.1>
Message-ID: <Pine.LNX.4.58.0309161826180.1048@Trademart-1.ednet.ns.ca>
References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20030916161551 DOT 025b5a20 AT 127 DOT 0 DOT 0 DOT 1>
MIME-Version: 1.0

On Tue, 16 Sep 2003, Larry Hall wrote:

> >gcc -mwindows -o hello hello.c
> >gives:
> >/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
> >warning: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000
> >
> >Simple solution :)?,
>
>
> Sure.  Eliminate "-mwindows".  But I very much doubt this _warning_ is having
> any affect on the ability of your program to run.  Feel free to prove me
> wrong with a concrete example.

Thanks for the quick response. I know my app was not working, so I am
going back through what appears to be different when I compile with the
latest CygWin. These errors are the first thing to explain away :). Why
may I ask are they now there but were not there before?

If I need (want) no console window, hence the -mwindows, is there now a
more correct compile time option?

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


thanks again,
Jes

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