Re:A minimal C compiler in x86 assembly
by loudmax on Tuesday May 03, 2022 @09:32AM
(#31248080)
The Goals section from the projects main page are pretty interesting: https://github.com/oriansj/stage0
Very cool project, but I guess I won't hold out for compiling a working web browser from this project.
[ Parent
| on HN ]
With a working gcc, you should be able to compile all that is needed to build Chromium and Firefox.
There are a few programming languages that cannot be bootstrapped from a C or C++ compiler, so you need a binary executable of a previous compiler version for that language, but I do not think that Chromium uses any of those.
The bootstrapping of Rust is complex, but AFAIK it is possible using mrustc. Then you should be able to also compile Firefox.