X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_GC X-Spam-Check-By: sourceware.org Subject: Re: gcj exception compiling From: "Yaakov (Cygwin/X)" To: cygwin Date: Sun, 06 Nov 2011 20:05:48 -0600 In-Reply-To: References: <3E1FD932-EE66-4151-A2B4-026F1D6FA7F0 AT flashpixx DOT de> <1320542893 DOT 7860 DOT 7 DOT camel AT YAAKOV04> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Message-ID: <1320631550.7300.11.camel@YAAKOV04> Mime-Version: 1.0 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 On Sun, 2011-11-06 at 21:16 +0100, Philipp Kraus wrote: > If I try to compile a java code with "gcj mysource.java" I get the error: > > /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9): > > undefined reference to `_WinMain AT 16' > collect2: ld returned 1 exit status http://gcc.gnu.org/java/faq.html#4_1 Yaakov -- 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