Compilation of 2-classes program. Help!

Jeff Sturm
Tue Sep 12 12:43:00 GMT 2000

Przemyslaw Pokrywka wrote:
> $ gcj --main=Raport -v -o raport

"Easy" way is to combine all .java files in one gcj command:

gcj --main=Raport -v -o raport

After you have more than a few sources, you may prefer building static (.a) or
shared (.so) libs.

I don't know why you are getting the compiler error though.  That's not a
linkage problem.

Jeff Sturm

More information about the Java mailing list