classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Classpath and JVMs


From: Tom Tromey
Subject: Re: GNU Classpath and JVMs
Date: 15 Sep 2005 09:57:26 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Stuart" == Stuart Ballard <address@hidden> writes:

Stuart> Makes me wonder, since the need to override certain files and/or
Stuart> packages in Classpath for a particular VM is such a common scenario,
Stuart> whether Classpath's build system shouldn't include native support for
Stuart> this.

Stuart> I think gcj already has something like this, because since the Big
Stuart> Merge they're actually using classpath in a subdirectory, but they
Stuart> still need to override some classes. But it seems like something that
Stuart> would be useful beyond gcj and kaffe and having each VM roll their own
Stuart> solution to the same problem seems silly.

I added --with-vm-classes to solve this problem for the
classpath-in-libgcj build.  Basically by default we use the stuff in
vm/reference, but --with-vm-classes completely overrides this.  Then,
in addition, the "enclosing" build can override specific files (eg
String.java) with its own versions.

This is pretty much completely ad hoc, but, say, if kaffe were to
switch to this build model it ought to work fine there as well.  Hint,
hint.

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]