delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/07/09:12:37

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: <j97u8n$vtd$1@dough.gmane.org>
References: <3E1FD932-EE66-4151-A2B4-026F1D6FA7F0 AT flashpixx DOT de> <1320542893 DOT 7860 DOT 7 DOT camel AT YAAKOV04> <j96pu0$t14$1 AT dough DOT gmane DOT org> <1320631550 DOT 7300 DOT 11 DOT camel AT YAAKOV04> <j97u8n$vtd$1 AT dough DOT gmane DOT org>
Date: Mon, 7 Nov 2011 09:11:44 -0500
Message-ID: <CAG_2cT=bUvNHSy7YkLtNk25WvjzrgzCeKPNHLncH1RjqpPXZsw@mail.gmail.com>
Subject: Re: gcj exception compiling
From: Jon Clugston <jon DOT clugston AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019