aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-10 23:49:13 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-10 23:49:13 +0000
commit46e11c55c1618fa7bda5ef67299084c723937075 (patch)
tree4f0e385ebcff6b7691547de0d9b05867d5214b92 /nuttx/libxx
parent77dda92fc950fac95a77ac88ef747bdb83a390af (diff)
downloadpx4-firmware-46e11c55c1618fa7bda5ef67299084c723937075.tar.gz
px4-firmware-46e11c55c1618fa7bda5ef67299084c723937075.tar.bz2
px4-firmware-46e11c55c1618fa7bda5ef67299084c723937075.zip
Add a little more configuration logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4587 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/libxx')
-rw-r--r--nuttx/libxx/Kconfig24
1 files changed, 16 insertions, 8 deletions
diff --git a/nuttx/libxx/Kconfig b/nuttx/libxx/Kconfig
index dad0444d1..4133a0ceb 100644
--- a/nuttx/libxx/Kconfig
+++ b/nuttx/libxx/Kconfig
@@ -2,18 +2,26 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
+
config HAVE_CXX
- bool "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.
+ Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
+ defined in the configurations Make.defs file.
config HAVE_CXXINITIALIZE
- bool "have cxx initialize"
+ 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---
- The platform-specific logic includes support
- for initialization of static C++ instances for this architecture
- and for the selected toolchain (via up_cxxinitialize()).
+ 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.