This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: newbie asks how to compile interdependent classes


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]