https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
--- Comment #19 from cqwrteur <unlvsur at live dot com> --- (In reply to Richard Biener from comment #18) > So first of all --disable-hosted-libstdcxx doesn't work up to its standard? > But maybe it's just specifics for x86_64-elf and other targets work fine > here. > > Did you try forcing -ffreestanding for target library build with > CFLAGS_FOR_TARGET="-g -O2 -ffreestanding" ../configure ....? > > Because libstdc++ may not be the only target library with the stdint.h issue. dude never works. That is why people are not using C++ for writing operating system. Also why people like Linux hate C++ so much. Anyone who attempted to write OS in C++ feel the same way. That is why C is still the only language for writing OS kernel. You give reasons for Trolls like Richard Stallman and Linus to attack this language