[Bug libstdc++/104605] _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 3 20:22:02 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104605

--- Comment #11 from cqwrteur <unlvsur at live dot com> ---
(In reply to Arsen Arsenović from comment #10)
> Created attachment 53661 [details]
> *-elf --without-headers --without-newlib should(?) provide stdint.h
> 
> Try applying this patch. I'll see if it's correct tomorrow and send it
> upstream if it is. Also don't forget to tell GCC you don't have newlib via:
> --without-newlib --without-headers.

can we simplify the settings here? For example --without-headers imply
--without-headers and --disable-hosted-libstdcxx and disabling other libraries
like libssp, libatomic?


More information about the Gcc-bugs mailing list