Hacker News new | past | comments | ask | show | jobs | submit login

Bootstrapping GCC is not hard at all:

https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen...

(there are a ton of infrequently-used options in there; if you ignore them what's left is quite simple. replace all the options with `false` and do the dead-code elimination.)

Hint: don't use glibc. The real problem comes from glibc and the way it depends on gcc internals, which depend on libc (i.e. circularly). Bootstrapping GCC on Musl is quite easy.

glibc is the real dumpster fire.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: