aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libxx/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libxx/Kconfig')
-rw-r--r--nuttx/libxx/Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/nuttx/libxx/Kconfig b/nuttx/libxx/Kconfig
new file mode 100644
index 000000000..4133a0ceb
--- /dev/null
+++ b/nuttx/libxx/Kconfig
@@ -0,0 +1,27 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+config HAVE_CXX
+ bool "Have C++ compiler"
+ default n
+ ---help---
+ Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
+ defined in the configurations Make.defs file.
+
+config HAVE_CXXINITIALIZE
+ bool "Have C++ initialization"
+ default n
+ ---help---
+ The platform-specific logic includes support for initialization
+ of static C++ instances for this architecture and for the selected
+ toolchain (via up_cxxinitialize()).
+
+config CXX_NEWLONG
+ bool "size_t is type long"
+ default n
+ ---help---
+ size_t may be type long or type int. This matters for some
+ C++ library routines because the NuttX size_t might not have
+ the same underlying type as your toolchain's size_t.