On Fri, 18 Mar 2005, Mark Taylor wrote:
> On Thu, 17 Mar 2005, Norman Gray wrote:
>
> > How does the java/ tree handle this?
>
> It does whatever ant does. Quite likely ant knows what java compiler
> it has and what flags it will accept and does the right thing, but
> I'm not sure. Don't think we've ever tried in on a non-Sun JDK,
> but Peter might know different.
Hi Norman,
as Mark say this is all handled by ANT and the ANT scripts, but with the
Starlink specific twist that the actual java used can be overridden by the
STAR_JAVA variable (which in fact points at the JVM command "java", which
is then used to find the compiler). As far as understanding the
capabilities of the various Java versions, ANT does indeed have classes
for each compiler version and ignores any non-relevant options. It claims
to support: jikes, javac1.1-1.5, jvc, kjc, gcj & sj!
As you can see from the builds at the weekend we seem to be exposed to the
same problem as you during bootstrap. I'll need to look at that (probably
somewhere I've missed adding the STAR_JAVA checks).
Cheers,
Peter.
|