All of lore.kernel.org
 help / color / mirror / Atom feed
From: "André Draszik" <git@andred.net>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-java][PATCH] docs: add bootstrap-flow.txt
Date: Wed, 25 Apr 2018 16:06:46 +0100	[thread overview]
Message-ID: <20180425150646.9032-1-git@andred.net> (raw)

From: André Draszik <andre.draszik@jci.com>

Summarises the bootstrap of the java envrionment, rather than having
to find this described in some wiki page that was copied over from
OE-classic and never updated.

Signed-off-by: André Draszik <andre.draszik@jci.com>
---
 docs/bootstrap-flow.txt | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 docs/bootstrap-flow.txt

diff --git a/docs/bootstrap-flow.txt b/docs/bootstrap-flow.txt
new file mode 100644
index 0000000..602eab7
--- /dev/null
+++ b/docs/bootstrap-flow.txt
@@ -0,0 +1,37 @@
+* first jikes-native is compiled
+  * a Java 1.4-capable compiler that does not need a runtime or
+    (strictly) a class library to work
+* jikes-initial-native is a wrapper around it
+
+* with this compiler we compile the initial (preliminary)
+  runtime (package virtual/java-initial-native)
+  * virtual/java-initial-native can be: cacao-initial-native (0.98)
+    or jamvm-initial-native (1.4.5)
+    * cacao is preferred, as it has a JIT, but doesn't compile
+      on all hosts
+    * cacao-initial-native and jamvm-initial-native both need
+      classpath-initial-native (0.93) and jikes-initial-native
+
+* now libecj-bootstrap-native is built
+  * this needs jikes-initial-native virtual/java-initial-native
+* now ecj-initial is built
+  * this needs libecj-bootstrap-native and
+    virtual/java-initial-native during runtime
+  * at that point we have a 1.5-capable compiler (ecj-initial)
+    running on a Java 1.4 compatible VM (cacao-inital-native
+    or jamvm-initial-native)
+
+* with this compiler (ecj-initial), we compile the final runtime
+  and compiler (virtual/java-native and virtual/javac-native)
+  * virtual/java-native can be: cacao-native (1.6.1) or
+    jamvm-native (2.0.0~pre)
+    * cacao vs jamvm as above
+    * cacao-native and jamvm-native both need
+      classpath-initial-native (0.93) and classpath-native (0.99)
+      and ecj-initial-native and virtual/java-initial-native
+  * virtual/javac-native can be: ecj-bootstrap-native
+    * ecj-bootstrap-native needs libecj-bootstrap-native
+      and virtual/java-native
+  * at that point we have a 1.5-capable compiler (ecj-bootstrap-native)
+    running on a Java 1.5 compatible VN (cacao-native or
+    jamvm-native)
-- 
2.16.2



             reply	other threads:[~2018-04-25 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-25 15:06 André Draszik [this message]
2018-06-18 15:40 ` [meta-java][PATCH] docs: add bootstrap-flow.txt Richard Leitner
2018-06-19  8:04 ` Richard Leitner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180425150646.9032-1-git@andred.net \
    --to=git@andred.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.