https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #2 from cqwrteur <unlvsur at live dot com> --- Then #if 0 the header. checking for stdalign.h... no checking for the value of EOF... configure: error: computing EOF failed make[1]: *** [Makefile:13313: configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory '/home/cqwrteur/myhome/gcc2_elf_build' make: *** [Makefile:965: all] Error 2 It cannot find EOF. So yes, libstdc++ requires stdio, even in a freestanding environment lol. I love this :)