From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25856 invoked by alias); 7 Nov 2011 14:12:23 -0000 Received: (qmail 25835 invoked by uid 22791); 7 Nov 2011 14:12:22 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_GC X-Spam-Check-By: sourceware.org Received: from mail-ww0-f45.google.com (HELO mail-ww0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Nov 2011 14:11:48 +0000 Received: by wwe6 with SMTP id 6so5242995wwe.2 for ; Mon, 07 Nov 2011 06:11:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.230.83 with SMTP id i61mr8066226weq.39.1320675104882; Mon, 07 Nov 2011 06:11:44 -0800 (PST) Received: by 10.216.8.210 with HTTP; Mon, 7 Nov 2011 06:11:44 -0800 (PST) In-Reply-To: References: <3E1FD932-EE66-4151-A2B4-026F1D6FA7F0@flashpixx.de> <1320542893.7860.7.camel@YAAKOV04> <1320631550.7300.11.camel@YAAKOV04> Date: Mon, 07 Nov 2011 14:12:00 -0000 Message-ID: Subject: Re: gcj exception compiling From: Jon Clugston To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00121.txt.bz2 > > In a posting earlier I have written, that the class does not have any main > method, so the > information to setup the --main flag does not help. In my project there are > only > abstract classes, interface classes and classes without main methods, so I > would like > to compile the sources to *.class files > > Phil > > RTFM. http://linux.die.net/man/1/gcj Pass the "-C" flag to the compiler to tell it to generate .class files instead of an executable. Jon -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple