Make target for compiling java classes only?

Max (Weijun) Wang Weijun.Wang at Sun.COM
Thu Jan 10 12:48:50 UTC 2008


How about providing your own compiler tools (gcc, link, lib) which  
simply copies the -o target from an existing JDK build?

Max

On Jan 10, 2008, at 8:27 PM, Alan Bateman wrote:

> Roman Kennke wrote:
>> Hi there,
>>
>> I'm looking for a make target, that compiles only the Java classes of
>> OpenJDK. Is there a way to do that? Thanks,
>>
>> /Roman
>>
>>
> I don't think there is one. There are a number of areas where the  
> source files are generated during the build (nio and jdwp for  
> example) so compiling just the java classes in the repository  
> wouldn't be enough (and will probably fail due to missing  
> dependencies). Kelly may have suggestions but I suspect you'll need  
> to hack the make files to skip compiling the shared libaries,  
> launchers, etc.
>
> -Alan.




More information about the build-dev mailing list