summaryrefslogtreecommitdiff
path: root/nuttx/libxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-10 23:49:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-10 23:49:13 +0000
commit3e83a91922974bdbbf76dd40960c774e85868cc1 (patch)
tree4f0e385ebcff6b7691547de0d9b05867d5214b92 /nuttx/libxx
parent4dfecaf427d884d0a3e81bdf0850fa51af0e9ce0 (diff)
downloadnuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.tar.gz
nuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.tar.bz2
nuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.zip
Add a little more configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4587 42af7a65-404d-4744-a932-0658087f49c3
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.