2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-11 01:49:13 +02:00
|
|
|
|
2012-11-02 01:22:52 +01:00
|
|
|
comment "Basic CXX Support"
|
|
|
|
|
2012-12-07 17:00:56 +01:00
|
|
|
config C99_BOOL8
|
|
|
|
bool "sizeof(_Bool) is 8-bits"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This setting means (1) your C++ compiler has sizeof(_Bool) == 8, (2)
|
|
|
|
your C compiler supports the C99 _Bool intrinsic type, and (2) that
|
|
|
|
the C99 _Bool type also has size 1.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config HAVE_CXX
|
2012-04-11 01:49:13 +02:00
|
|
|
bool "Have C++ compiler"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2014-04-14 00:22:22 +02:00
|
|
|
Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
|
2012-04-11 01:49:13 +02:00
|
|
|
defined in the configurations Make.defs file.
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2012-11-01 22:08:56 +01:00
|
|
|
if HAVE_CXX
|
|
|
|
|
2012-04-11 01:49:13 +02:00
|
|
|
config CXX_NEWLONG
|
|
|
|
bool "size_t is type long"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 01:49:13 +02:00
|
|
|
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.
|
2012-11-01 22:08:56 +01:00
|
|
|
|
2017-03-08 23:46:26 +01:00
|
|
|
comment "LLVM C++ Library (libcxx)"
|
|
|
|
|
|
|
|
config LIBCXX
|
|
|
|
bool "Build LLVM libcxx (must be installed)"
|
|
|
|
default n
|
|
|
|
---help---
|
2018-09-13 22:03:09 +02:00
|
|
|
If you have installed libcxx into the NuttX source tree, then it can
|
2017-03-08 23:46:26 +01:00
|
|
|
be built by selecting this option. See the README.txt file in the
|
2018-09-13 22:03:09 +02:00
|
|
|
libcxx package for information on installing libcxx.
|
2017-03-08 23:46:26 +01:00
|
|
|
|
|
|
|
if LIBCXX
|
|
|
|
|
|
|
|
config LIBCXX_EXCEPTION
|
|
|
|
bool "Enable Exception Suppport"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config LIBCXX_IOSTREAM_BUFSIZE
|
|
|
|
int "IO Stream Buffer Size"
|
|
|
|
default 32
|
|
|
|
|
|
|
|
config LIBCXX_HAVE_LIBSUPCXX
|
|
|
|
bool "Have libsupc++ (required)"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Select if your toolchain provides libsupc++. This option is required
|
|
|
|
at present because the built-in libsupc++ support is incomplete.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2012-11-01 22:08:56 +01:00
|
|
|
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
|
2015-06-28 16:08:57 +02:00
|
|
|
be built by selecting this option. See the README.txt file in the
|
|
|
|
uClibc++ packet for information on installing uClibc++.
|
2012-11-01 22:08:56 +01:00
|
|
|
|
|
|
|
if UCLIBCXX
|
|
|
|
|
|
|
|
config UCLIBCXX_EXCEPTION
|
|
|
|
bool "Enable Exception Suppport"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config UCLIBCXX_IOSTREAM_BUFSIZE
|
|
|
|
int "IO Stream Buffer Size"
|
|
|
|
default 32
|
|
|
|
|
2012-11-02 01:22:52 +01:00
|
|
|
config UCLIBCXX_HAVE_LIBSUPCXX
|
|
|
|
bool "Have libsupc++ (required)"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Select if your toolchain provides libsupc++. This option is required
|
|
|
|
at present because the built-in libsupc++ support is incomplete.
|
|
|
|
|
2012-11-01 22:08:56 +01:00
|
|
|
endif
|
|
|
|
endif
|