Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: Date: Wed, 29 Sep 2004 21:50:19 -0700 From: Joshua Daniel Franklin Reply-To: Joshua Daniel Franklin To: cygwin AT cygwin DOT com Subject: Re: Undifined reference to _WinMain AT 16 (Attn: FAQ maintainer) In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-IsSubscribed: yes On Mon, 13 Sep 2004 16:51:27 -0400 (EDT), Igor Pechtchanski wrote: > > http://sources.redhat.com/cygwin/faq/faq.html#SEC91 > > This won't work with gcj. You need to pass a "--main" flag, e.g., > > gcj --main=Hello Hello.java > > Would it be possible to add this to the above FAQ entry? Yep. I'm back from vacation which is good, but very behind and busy, which is bad. I've updated several things in the FAQ and put it on the website. Other things will be coming along eventually. -- 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/