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: <20020722211956.69365.qmail@web21007.mail.yahoo.com> Date: Mon, 22 Jul 2002 14:19:56 -0700 (PDT) From: Nicholas Wourms Subject: Re: gcj problems with helloworld To: cygwin AT cygwin DOT com In-Reply-To: <20020722204209.47489.qmail@web10107.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Sylvain Petreolle wrote: > Using gcj to compile a simple program gives non-understandable errors: > > $ cat PremierProgramme.java > //Premier programme Java > class PremierProgramme { > public static void main (String[] arg) { > System.out.println("Ca marche!"); > } > } > > $ gcj -c PremierProgramme.java > $ echo $? > 0 > $ gcj PremierProgramme.java -o PremierProgramme Sylvain, Try: gcj --main=PremierProgramme -o PremierProgramme PremierProgramme.java Cheers, Nicholas __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/