Linking errors with gjc

Jeff Sturm jsturm@one-point.com
Thu Oct 10 04:42:00 GMT 2002


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



More information about the Java mailing list