The demo is about running the script task5_amd64.sh, which finishes in about half a minute and
results in a build of the Tiny C Compiler 0.9.27, which is a rather complete,
but not so tiny, compiler for the C programming language. Linux is (largely)
written in C.
Why is this fast?
Original for 32-bits: 11 minutes
For 64-bits: Fails after 13 minutes
Before optimizations: 82 seconds
Building live-bootstrap up to and including TCC-0.9.27 takes 11 minutes and 38
seconds on my laptop when building for 32-bits Intel target (also known as
x86). The demo build the same for 64-bits Intel target (also known AMD64),
fails after 13 minutes and 38 seconds. It is not yet supported.
Before I implemented some optimizations, my solution took 1 minute and 22
seconds to build.
What is live-bootstrap
Pull yourself up from your bootstraps
Building from scratch
Building Linux from source
Avoiding a malicious compiler
Bootstapping refers to pulling yourself up by your bootstraps and it is often
used for building something from scratch.
To build Linux from sources, you need a C compiler. But what if you cannot
trust the compiler. This idea is to start with a very small program and build
all the tools to build a C compiler. This is what the live-bootstrap project
is about.