This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Linking errors with gjc
- From: Jeff Sturm <jsturm at one-point dot com>
- To: James Shaw <js102 at ecs dot soton dot ac dot uk>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 10 Oct 2002 07:42:21 -0400 (EDT)
- Subject: Re: Linking errors with gjc
On Thu, 10 Oct 2002, James Shaw wrote:
> gcj -femit-class-files --main=helloworld helloworld.java
^^^^^^^^^^^^^^^^^^
This doesn't do what you might think... try taking it out:
gcj --main=helloworld helloworld.java -o ./helloworld
./helloworld
Also note Andrew's advice re: upgrading; 2.96 is quite old now.
Jeff