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: <20040913202508.38797.qmail@web41908.mail.yahoo.com> Date: Mon, 13 Sep 2004 13:25:08 -0700 (PDT) From: Kostadin Cholakov Subject: Undifined reference to _WinMain AT 16 To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Hi I am using for a first time GCJ compiler (and I find it strange) but it seems to work properly. I have my first error message :). It is Undifined reference to _WinMain AT 16. I checked the FAQ but the explanation there doesn't help. In fact, it refers to GCC compiler and the example is an Object C file. Anyway, I tried by putting the -lm flag and it didn't work. I read all stuff provided by man to see if there are some special flags which I should put but I think there was nothing which could help me. So, please, can somebody tell me 2 simple commands in order to compile and then to run a Java program using GCJ! Should I make some additional changes in path or something else? Thanks! __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- 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/