Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale).

Fix build with C++ GCC toolchain
This commit is contained in:
Philippe Leduc
2024-04-24 17:01:11 +02:00
committed by Xiang Xiao
parent 88fa598ea2
commit 3dc6b4c9bd
31 changed files with 164 additions and 46 deletions

View File

@@ -99,6 +99,11 @@ ifdef CONFIG_BUILD_PROTECTED
endif
ifdef CONFIG_BUILD_KERNEL
@echo "NUTTX_BUILD=\"kernel\"" >> $(EXPORTDIR)/makeinfo.sh
endif
ifdef CONFIG_LIBCXX
@echo "NUTTX_CXX=\"libcxx\"" >> $(EXPORTDIR)/makeinfo.sh
else
@echo "NUTTX_CXX=\"cxx\"" >> $(EXPORTDIR)/makeinfo.sh
endif
$(Q) chmod 755 $(EXPORTDIR)/makeinfo.sh