4 ms·
The Goals section from the projects main page are pretty interesting: https://github.com/oriansj/stage0 https://github.com/oriansj/stage0 This is a set of ma
by loudmax 4y ago
The Goals section from the projects main page are pretty interesting: https://github.com/oriansj/stage0 https://github.com/oriansj/stage0
This is a set of manually created hex programs in a Cthulhu Path to madness fashion. Which only have the goal
of creating a bootstrapping path to a C compiler capable of compiling GCC, with only the explicit requirement
of a single 1 KByte binary or less.
Additionally, all code must be able to be understood by 70% of the population of programmers. If the code can
not be understood by that volume, it needs to be altered until it satisfies the above requirement.
Very cool project, but I guess I won't hold out for compiling a working web browser from this project.
- adrian_b 4y agoWith 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.