Re: Inconvertible types error in EnumSet.java

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

 



Hi Andrew,

On 3/19/08, Andrew John Hughes <gnu_andrew@xxxxxxxxxxxxxx> wrote:
> On 19/03/2008, Trevor Harmon <trevor@xxxxxxxxxx> wrote:
> > On Mar 18, 2008, at 12:51 PM, Andreas Tobler wrote:
> >
> >  > You need an ecj.tar
> >
> >
> > What version of ecj do I need for the latest classpath? Is 3.1.2 good
> >  enough?
>
> 3.2 works for definite.  I seem to recall 3.1.2 working but don't
> quote me on that.  Give it a try, and let us know if it doesn't.
>
> >
> >  > and a working jamvm.
> >
> >  Okay this is something that has confused me. classpath seems to have a
> >  dependency on jamvm, but jamvm seems to have a dependency on
> >  classpath. How is this not circular?
> >
>
> It is circular.  Such is life with Java (OpenJDK also needs a JDK to
> compile FWIW).  To bootstrap, you can use gcj/gij to run ecj.  Many
> distros (e.g. debian) ship with a native version of ecj that runs
> using gcj.
>

With JamVM 1.5.1, etc. I've deliberately kept compatibility with
Classpath-0.92 to break the dependency circle.  On a machine with no
Java VM or compiler installed:

1) Build or install Jikes
2) Build Classpath-0.92 using Jikes
3) Build JamVM 1.5.1
4) Use the resultant JamVM/Classpath to run ecj
5) Build Classpath-0.97.1 using ecj

This relies on being able to build JamVM without a 1.5 compliant Java
compiler.  I do two things:

1) JamVM releases include a pre-built classes.zip containing JamVMs VM
classes (if the source is changed classes.zip is rebuilt).  This means
no Java compiler is required to build a JamVM release.

2)  JamVMs VM classes are not "genericized".  This means that even
without the pre-built classes.zip JamVM can be installed using Jikes.
This is useful for building the CVS version of JamVM on an otherwise
bare machine.

Thanks,
Rob.

P.S.  Changing the subject, this is one of my concerns with the change
to the VM interface for the new VM reflection classes.  If JamVM moves
to the new interface it breaks the ability to use JamVM/Classpath-0.92
as a bootstrap...

> >
> >  Trevor
> >
> >
>
>
> --
> Andrew :-)
>
> Document Freedom Day - March 26th
> http://documentfreedom.org
>
> Support Free Java!
> Contribute to GNU Classpath and the OpenJDK
> http://www.gnu.org/software/classpath
> http://openjdk.java.net
>
> PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
> Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
>
>


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux