about summary refs log tree commit diff
path: root/notes.org
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-03-10T14·10+0100
committerVincent Ambo <tazjin@gmail.com>2018-03-10T14·10+0100
commit1bc0df787504bad7cd2916f09ca8caeeaf0bcf69 (patch)
tree5ae2e74eab84e71ccc36441d69030f4104853ab7 /notes.org
parentd93d2a2d714728c627d29585d31148142ea2ded2 (diff)
docs: Add notes about C compilers
Diffstat (limited to 'notes.org')
-rw-r--r--notes.org20
1 files changed, 19 insertions, 1 deletions
diff --git a/notes.org b/notes.org
index 17550802dc15..1208b2fed480 100644
--- a/notes.org
+++ b/notes.org
@@ -17,6 +17,11 @@
    that is defined via an ANSI standard that compiler implementations
    normally actually follow!
 
+   CL has several ecosystem components that focus on making
+   abstracting away implementation-specific calls and if a self-hosted
+   compiler is written in CL using those components it can be
+   cross-bootstrapped.
+
 ** Python
 
 * A note on runtimes
@@ -53,4 +58,17 @@
      to compile itself.
 
      Common examples:
-     - gcc builds with gcc
+     - C/C++ compilers needed to build C/C++ compilers:
+
+       GCC 4.7 was the last version of GCC that could be built with a
+       standard C-compiler, nowadays it is mostly written in C++.
+
+       Certain versions of GCC can be built with LLVM/Clang.
+
+       Clang/LLVM can be compiled by itself and also GCC.
+
+     - Rust was originally written in OCAML but moved to being
+       self-hosted in 2011. Currently rustc-releases are always built
+       with a copy of the previous release.
+
+       It's relatively new so we can build the chain all the way.