3 ms·
Intro to GCC bootstrap in RISC-V
- bjornsing 4y agoWhy not cross compile gcc with the gcc on your laptop?
- mark_undoio 4y agoIt looks like the intention is to bootstrap from source using an absolute minimum of precompiled binaries. For an average user I'd imagine this is mostly just intellectually interesting but it's potentially useful for distros to aggressively minimise the amount of unauditable code involved in their builds. The GNU Mes project (mentioned in the article) seems to be part of general work in this direction: https://www.gnu.org/software/mes/ https://www.gnu.org/software/mes/ Which seems to be GUIX-driven: https://guix.gnu.org/en/blog/2020/guix-further-reduces-bootstrap-seed-to-25/ https://guix.gnu.org/en/blog/2020/guix-further-reduces-boots... And some funding has been provided to the author to help with this: https://nlnet.nl/project/GNUMes-RISCV/ https://nlnet.nl/project/GNUMes-RISCV/
- tmtvl 4y agoPeople working on Mes and Guix are of course involved with the Bootstrappable builds, of which the site (https://bootstrappable.org/ https://bootstrappable.org/) has more information.
- psychphysic 4y agoWhat a non-article!
- turminal 4y agoWhat a non-comment. Care to explain why you think so?
- wrycoder 4y agoThey’re not wrong.
- psychphysic 4y agoTake all the info in it. And you'd struggle to hit the twitter char cap. Not even a thread. A single tweet.
- stockerta 4y agoThe later parts are more interesting.
- robinsonb5 4y agoInteresting project - I hadn't realised we'd sleepwalked into a reality where this would be quite so difficult.
- deleted 4y ago[deleted]
- sylware 4y agoThe only c++98 compiler able to compile a recent gcc is gcc 4.7.4, that being written in simple and plain C. The bootstrapping project which gnu mes and co are part of, does plan to take over gcc 4.7.4 maintenance (a lot will have to be done, but a lot can be removed). Yep, moving gcc from simple and plain Cto c++98 was one of the biggest mistake in open source software, ever.
- deleted 4y ago[deleted]
- tmtvl 4y agoFrom a maintainability perspective you're right, switching GCC from C to C++ was unfortunate, but it was done to improve type safety, which is tricky to get right in older C versions which don't have _Generic.