Compilation of 2-classes program. Help!

Jeff Sturm jeff.sturm@appnet.com
Tue Sep 12 12:43:00 GMT 2000


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

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

gcj --main=Raport -v -o raport Raport.java Info.java

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
jeff.sturm@appnet.com


More information about the Java mailing list