public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Eric Doenges <Eric.Doenges@batian.lpr.e-technik.tu-muenchen.de>
To: help-gcc@gnu.org
Subject: Re: gcj
Date: Tue, 23 Nov 1999 05:43:00 -0000	[thread overview]
Message-ID: <doenges.943349301@lpr.e-technik.tu-muenchen.de> (raw)
In-Reply-To: <383A1FEC.91ADBFCB@bellatlantic.net>

Ashwin Kapur <akapur@bellatlantic.net> writes:

>The java file compiles into an o file but the compiler
>complains about the absence of a main.  The code contains a
>main.  Is there some specific thing I'm supposed to be doing
>to compile and like code with gcj.  Are there docs on this.

try 'gcj --main=EchoClient EchoClient.java -o ...'. Also try to find the
file 'Compiling with GCJ' on the Cygnus website (sorry, I don't have the
URL handy), which describes all the command line options gcj offers.

>Is there some library I'm supposed to link to or something.

This is done automatically if you let gcj do the linking.
-- 
________________________________________________________________________
Dipl.-Ing. Eric Doenges                         http://www.rcs.ei.tum.de
Institute for Real-Time Computer Systems (RCS)      fon +49-89-289-23590
Technische Universitaet Muenchen, D-80290 Muenchen  fax +49-89-289-23555

WARNING: multiple messages have this Message-ID
From: Eric Doenges <Eric.Doenges@batian.lpr.e-technik.tu-muenchen.de>
To: help-gcc@gnu.org
Subject: Re: gcj
Date: Tue, 30 Nov 1999 23:28:00 -0000	[thread overview]
Message-ID: <doenges.943349301@lpr.e-technik.tu-muenchen.de> (raw)
Message-ID: <19991130232800.658n5A8rPBKOPzCMV8e1M9Vyy5qLIj2bIOiB2UJdUrA@z> (raw)
In-Reply-To: <383A1FEC.91ADBFCB@bellatlantic.net>

Ashwin Kapur <akapur@bellatlantic.net> writes:

>The java file compiles into an o file but the compiler
>complains about the absence of a main.  The code contains a
>main.  Is there some specific thing I'm supposed to be doing
>to compile and like code with gcj.  Are there docs on this.

try 'gcj --main=EchoClient EchoClient.java -o ...'. Also try to find the
file 'Compiling with GCJ' on the Cygnus website (sorry, I don't have the
URL handy), which describes all the command line options gcj offers.

>Is there some library I'm supposed to link to or something.

This is done automatically if you let gcj do the linking.
-- 
________________________________________________________________________
Dipl.-Ing. Eric Doenges                         http://www.rcs.ei.tum.de
Institute for Real-Time Computer Systems (RCS)      fon +49-89-289-23590
Technische Universitaet Muenchen, D-80290 Muenchen  fax +49-89-289-23555

  reply	other threads:[~1999-11-23  5:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-23  5:47 gcj Ashwin Kapur
1999-11-23  5:43 ` Eric Doenges [this message]
1999-11-30 23:28   ` gcj Eric Doenges
1999-11-30 23:28 ` gcj Ashwin Kapur
     [not found] <200901181717.n0IHHMOM028799@smtp.google.com>
2009-01-20  1:06 ` gcj Ian Lance Taylor
  -- strict thread matches above, loose matches on Subject: below --
2009-01-18 17:17 gcj Franklyn Simon
2009-01-18 17:17 gcj Franklyn Simon
2004-04-27 15:24 gcj Plapp, Phillip
2004-04-23 15:45 gcj bserdar
2004-04-23 15:37 gcj Plapp, Phillip
1999-10-27 21:31 gcj Chris Majewski
1999-10-27 21:52 ` gcj Anthony Green
1999-10-31 13:57   ` gcj Anthony Green
1999-10-31 13:57 ` gcj Chris Majewski

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=doenges.943349301@lpr.e-technik.tu-muenchen.de \
    --to=eric.doenges@batian.lpr.e-technik.tu-muenchen.de \
    --cc=help-gcc@gnu.org \
    /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).