4 ms·
How are you bootstrapping a modern C compiler without an existing C/C++ compiler and linker?
by frumplestlatz 1y ago
How are you bootstrapping a modern C compiler without an existing C/C++ compiler and linker?
- degamad 1y agoIn assembly, like stage0 does: https://github.com/oriansj/stage0 https://github.com/oriansj/stage0
- lrvick 1y agoTechnically it is raw x86 machine code in hexadecimal, a scheme called "hex0"
- lrvick 1y agoFrom 180 bytes of human readable machine code all the way up. https://codeberg.org/stagex/stagex/src/branch/main/packages/bootstrap/stage0/Containerfile https://codeberg.org/stagex/stagex/src/branch/main/packages/...