Linking errors with gjc

Andrew Haley aph@redhat.com
Thu Oct 10 04:53:00 GMT 2002


Jeff Sturm writes:
 > 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

Do'h!  I missed that.

Andrew.



More information about the Java mailing list