Re: How to build Classpath without Classpath

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

 



2008/5/9 Robert Schuster <theBohemian@xxxxxxx>:
> Hi,
>  I am maintaining the Java/Classpath stuff in OpenEmbedded and have
>  implemented a self-hosting toolchain like this:
>
>  jikes 1.21 -> classpath 0.93 -> cacao 0.98 or jamvm 1.5.0 -> ecj-initial ->
>  classpath 0.9x (x >= 5) -> cacao 0.98+hg20071001 (or newer) ->
>  ecj(-bootstrap)
>
>  ecj-initial is just ecj but taught to use classpath 0.93 as its class.
>  The set of Java classes from ECJ that are really compiled is the same as
>  found in the Debian package ecj-bootstrap.
>
>  ecj-bootstrap is the Java compiler that uses classpath 0.9x and cacao
>  0.98+hg20071001+. It is called -bootstrap because it only has the basic
>  'javac' features, no ant integration and whatnot. Again the same classes
>  as Debian's ecj-bootstrap.
>
>  This compiler is used to compile all the Java packages, while
>  ecj-initial only serves the bootstrapping purposes.
>
>  Regards
>  Robert
>
>
>

Thanks Robert.  Just to clarify, and as twisti implied,

 ecj-binary -> gcj-4.3 ->  classpath 0.9x (x >= 5) -> cacao
0.98+hg20071001 (or newer) ->  ecj(-bootstrap)

is another option.  gcj is the only solution I've seen so far that
can give you a Java environment from nothing more than an ecj jar file.

ecj-binary is obtained by a script in the contrib directory of gcc.
-- 
Andrew :-)

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