This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]