public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Clugston <jon.clugston@gmail.com>
To: cygwin@cygwin.com
Subject: Re: gcj exception compiling
Date: Mon, 07 Nov 2011 14:12:00 -0000	[thread overview]
Message-ID: <CAG_2cT=bUvNHSy7YkLtNk25WvjzrgzCeKPNHLncH1RjqpPXZsw@mail.gmail.com> (raw)
In-Reply-To: <j97u8n$vtd$1@dough.gmane.org>

>
> 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

  reply	other threads:[~2011-11-07 14:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-05 18:13 Kraus Philipp
2011-11-06  1:28 ` Yaakov (Cygwin/X)
2011-11-06 20:16   ` Philipp Kraus
2011-11-07  2:05     ` Yaakov (Cygwin/X)
2011-11-07  6:36       ` Philipp Kraus
2011-11-07 14:12         ` Jon Clugston [this message]
2011-11-10  5:18   ` Dave Korn
2011-11-10  5:29     ` Dave Korn
2011-11-10  5:53       ` Yaakov (Cygwin/X)
2011-11-10  6:07       ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG_2cT=bUvNHSy7YkLtNk25WvjzrgzCeKPNHLncH1RjqpPXZsw@mail.gmail.com' \
    --to=jon.clugston@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).