Y
Hacker News
new
|
ask
|
show
|
jobs
by
frumplestlatz
236 days ago
How are you bootstrapping a modern C compiler without an existing C/C++ compiler and linker?
2 comments
lrvick
236 days ago
From 180 bytes of human readable machine code all the way up.
https://codeberg.org/stagex/stagex/src/branch/main/packages/...
link
degamad
236 days ago
In assembly, like stage0 does:
https://github.com/oriansj/stage0
link
lrvick
236 days ago
Technically it is raw x86 machine code in hexadecimal, a scheme called "hex0"
link
https://codeberg.org/stagex/stagex/src/branch/main/packages/...