This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: newbie asks how to compile interdependent classes
- From: Tom Tromey <tromey at redhat dot com>
- To: "Jonathan Cohen" <jcohen79 at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: 13 Sep 2002 12:27:19 -0600
- Subject: Re: newbie asks how to compile interdependent classes
- References: <F18hJaS9hokNY4U6MWH0000795d@hotmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "Jonathan" == Jonathan Cohen <jcohen79@hotmail.com> writes:
Jonathan> javac -g -classpath c:\my\classes -d c:\my\classes -sourcepath
Jonathan> c:\my\src %1.java
Jonathan> It figures out what files haven't been seen yet and compiles
Jonathan> those.
gcj doesn't yet automatically recompile files that have changed.
Meanwhile just pass all your .java files to gcj (or compile them
individually).
Jonathan> Back on Linux, how to I get gcj to stop reporting an error
Jonathan> that it could not import the other class?
I don't understand. What command line did you use? What is the exact
error message?
Tom