4 ms·
This was created as part of the Bootstrappable Builds project to go from an MBR of machine code plus a ton of source all the way up to a full distro. https://b
by pabs3 5y ago
This was created as part of the Bootstrappable Builds project to go from an MBR of machine code plus a ton of source all the way up to a full distro.
https://bootstrappable.org/ https://bootstrappable.org/
- harha 5y agoThis is pretty cool, there's so much value in knowing how to create things, same as in manufacturing, producing drugs etc. I would love to get guided through how they wrote this.
- deleted 5y ago[deleted]
- loudmax 5y agoThe 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 5y 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.