[kaffe] Cross compilation on MacOS X - need a little help

Dalibor Topic robilad at kaffe.org
Fri May 21 12:14:08 PDT 2004


Michael Franz wrote:
> Nikolaus,

>> And, what is the main output of the bootstrapping process: rt.jar? Can 
>> this be created using Apple's javac?
> 
> 
> Apple's javac should work, but I have never used it for this.  I have 
> imported the source into Eclipse and then export the jar.  I think there 
> is some Win32 class that will not compile without the correct setup.  I 
> just deleted it(them).

make JAVAC="/path/to/javac" JAVAC_FLAGS="-bootclasspath lib/" should 
work with Sun's and Apple's compiler. See FAQ/FAQ.classlibrary-compile 
for details. :)

Or you can also use jikes. make JAVAC=jikes should work fine (and much 
faster than with kjc on kaffe).

cheers,
dalibor topic




More information about the kaffe mailing list