From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2364 invoked by alias); 7 Nov 2011 02:05:58 -0000 Received: (qmail 2353 invoked by uid 22791); 7 Nov 2011 02:05:57 -0000 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 Received: from mail-vw0-f43.google.com (HELO mail-vw0-f43.google.com) (209.85.212.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Nov 2011 02:05:44 +0000 Received: by vws13 with SMTP id 13so1058174vws.2 for ; Sun, 06 Nov 2011 18:05:43 -0800 (PST) Received: by 10.52.23.12 with SMTP id i12mr5086436vdf.37.1320631543224; Sun, 06 Nov 2011 18:05:43 -0800 (PST) Received: from [192.168.0.100] (S0106000cf16f58b1.wp.shawcable.net. [24.79.200.150]) by mx.google.com with ESMTPS id hn2sm13958836vdb.14.2011.11.06.18.05.42 (version=SSLv3 cipher=OTHER); Sun, 06 Nov 2011 18:05:42 -0800 (PST) Subject: Re: gcj exception compiling From: "Yaakov (Cygwin/X)" To: cygwin Date: Mon, 07 Nov 2011 02:05:00 -0000 In-Reply-To: References: <3E1FD932-EE66-4151-A2B4-026F1D6FA7F0@flashpixx.de> <1320542893.7860.7.camel@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@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/msg00112.txt.bz2 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@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