This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ error compiling classes
- From: tt tt <tt_745 at yahoo dot co dot uk>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java at gcc dot gnu dot org
- Date: Sun, 17 Apr 2005 22:17:37 +0100 (BST)
- Subject: Re: GCJ error compiling classes
Thank you that works great!
--- Michael Koch <konqueror@gmx.de> wrote:
> You need to compile and link all classes
> explicitely.
>
> Use this:
>
> gcj -c -g -O TestMySQL.java
> gcj -c -g -O Job.java
> gcj --main=TestMySQL -o TestMySQL TestMySQL.o Job.o
Send instant messages to your online friends http://uk.messenger.yahoo.com