On 19/03/2008, 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. > > > > > 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 > Also, most distros should ship with old versions of Classpath and a VM so you should be able to use that to run ecj (it doesn't require 1.5 features, which is where the problem comes in). Likewise, you can build pre-0.95 versions of Classpath with a native compiler like Jikes. Unfortunately, no non-Java compilers managed to jump the fence to 1.5 :( -- 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