X-Recipient: archive-cygwin AT delorie DOT com 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 MIME-Version: 1.0 In-Reply-To: References: <3E1FD932-EE66-4151-A2B4-026F1D6FA7F0 AT flashpixx DOT de> <1320542893 DOT 7860 DOT 7 DOT camel AT YAAKOV04> <1320631550 DOT 7300 DOT 11 DOT camel AT YAAKOV04> Date: Mon, 7 Nov 2011 09:11:44 -0500 Message-ID: Subject: Re: gcj exception compiling From: Jon Clugston To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 > > 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