[kaffe] compile errors from kaffe javac

Dalibor Topic robilad at yahoo.com
Mon Jan 13 13:12:02 PST 2003

Hi Rongmei,

--- Rongmei Zhang <rongmei at ecn.purdue.edu> wrote:
> Kaffe javac does not take -sourcepath but is there
> anyway to specify the path of 
> source files? I am getting "cannot find xxx.class"
> kind of error messages and 
> xxx.class is located in a different directory
> (package).

No, not really. Contrary to the behaviour of javac or
jikes, kjc wants to see every referenced class on its
command line (or in the @file). It won't do any
"greedy guesswork" where those classes may be, even if
they are in the same package. 

Just compile all the classes at once and you're safe.

best regards,
dalibor topic

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

More information about the kaffe mailing list