This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Compilation of 2-classes program. Help!
- To: Przemyslaw Pokrywka <emo at 2com dot pl>
- Subject: Re: Compilation of 2-classes program. Help!
- From: Jeff Sturm <jeff dot sturm at appnet dot com>
- Date: Tue, 12 Sep 2000 15:50:37 -0400
- CC: java-discuss at sourceware dot cygnus dot com
- Organization: AppNet Inc.
- References: <00091221264500.01951@emoHQ>
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