https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057
Bug ID: 100057 Summary: There are no freestanding C++ Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- Created attachment 50574 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50574&action=edit Error message It is such a joke. Although building GCC with newlib is perfectly fine, without it, it just does not work dude. There are no freestanding C++ :) I am perfectly correct. No stdint.h I tried all combinations: ../gcc/configure --disable-nls --disable-bootstrap --disable-hosted-libstdcxx --disable-werror --without-headers --target=x86_64-elf --prefix=/home/cqwrteur/elf_toolchain/x86_64-elf --disable-shared ../gcc/configure --disable-nls --disable-bootstrap --disable-hosted-libstdcxx --disable-werror --without-headers --target=x86_64-elf --prefix=/home/cqwrteur/elf_toolchain/x86_64-elf --disable-shared --with-newlib None of them work. They all could not find stdint.h