aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libxx/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-01 21:08:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-01 21:08:56 +0000
commitf5776dec9fdc3b655b7f424340d613664a65e2ab (patch)
treea99511f64eea990fb7d0f9595cc4933608fc8567 /nuttx/libxx/Kconfig
parenteb26187767da1e752bfdc6571ccb70e3f84fd954 (diff)
downloadpx4-firmware-f5776dec9fdc3b655b7f424340d613664a65e2ab.tar.gz
px4-firmware-f5776dec9fdc3b655b7f424340d613664a65e2ab.tar.bz2
px4-firmware-f5776dec9fdc3b655b7f424340d613664a65e2ab.zip
uClibc++ compiles... but it is a long way from linking
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5293 42af7a65-404d-4744-a932-0658087f49c3
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
index 4133a0ceb..5ce2a8f7d 100644
--- a/nuttx/libxx/Kconfig
+++ b/nuttx/libxx/Kconfig
@@ -10,6 +10,10 @@ config HAVE_CXX
Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
defined in the configurations Make.defs file.
+if HAVE_CXX
+
+comment "Basic CXX Support"
+
config HAVE_CXXINITIALIZE
bool "Have C++ initialization"
default n
@@ -25,3 +29,26 @@ config CXX_NEWLONG
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.
+
+comment "uClibc++ Standard C++ Library"
+
+config UCLIBCXX
+ bool "Build uClibc++ (must be installed)"
+ default n
+ ---help---
+ If you have installed uClibc++ into the NuttX source try, then it can
+ be built by selecting this option. See misc/uClibc++/README.txt for
+ information on installing uClibc++.
+
+if UCLIBCXX
+
+config UCLIBCXX_EXCEPTION
+ bool "Enable Exception Suppport"
+ default y
+
+config UCLIBCXX_IOSTREAM_BUFSIZE
+ int "IO Stream Buffer Size"
+ default 32
+
+endif
+endif