https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87769
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC is not independent from the libc's headers. GCC DOES NOT INCLUDE A LIBC. Glibc is the libc that is used on many Linux distro (but not the only one out there). If you want to build a completely self contained compiler/libraries, there are many directions on the internet for that. NOTE the standard C++ headers include the standard C headers in the end.