2012-04-06 15:49:35 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 08:08:57 -06:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 15:49:35 +00:00
|
|
|
#
|
2012-04-10 23:49:13 +00:00
|
|
|
|
2012-11-02 00:22:52 +00:00
|
|
|
comment "Basic CXX Support"
|
|
|
|
|
2012-12-07 16:00:56 +00: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 14:50:57 +00:00
|
|
|
config HAVE_CXX
|
2012-04-10 23:49:13 +00:00
|
|
|
bool "Have C++ compiler"
|
2012-04-07 14:50:57 +00:00
|
|
|
default n
|
|
|
|
---help---
|
2014-04-13 16:22:22 -06:00
|
|
|
Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
|
2012-04-10 23:49:13 +00:00
|
|
|
defined in the configurations Make.defs file.
|
2012-04-07 14:50:57 +00:00
|
|
|
|
2012-11-01 21:08:56 +00:00
|
|
|
if HAVE_CXX
|
|
|
|
|
2020-07-01 01:58:58 +08:00
|
|
|
config HAVE_CXXINITIALIZE
|
|
|
|
bool "Have C++ initialization"
|
2020-07-09 01:47:18 +08:00
|
|
|
default LIBCXX || UCLIBCXX
|
2020-07-01 01:58:58 +08:00
|
|
|
---help---
|
|
|
|
The platform-specific logic includes support for initialization
|
|
|
|
of static C++ instances for this architecture and for the selected
|
|
|
|
toolchain (via up_cxxinitialize()).
|
|
|
|
|
2019-01-26 11:23:31 -06:00
|
|
|
config CXX_EXCEPTION
|
2020-06-28 23:03:57 +08:00
|
|
|
bool "Enable Exception Support"
|
|
|
|
default LIBCXX || UCLIBCXX
|
2019-01-26 11:23:31 -06:00
|
|
|
|
|
|
|
config CXX_LIBSUPCXX
|
2020-06-28 23:03:57 +08:00
|
|
|
bool "Have libsupc++ (required)"
|
|
|
|
default LIBCXX || UCLIBCXX
|
|
|
|
---help---
|
|
|
|
Select if your toolchain provides libsupc++. This option is required
|
|
|
|
at present because the built-in libsupc++ support is incomplete.
|
2019-01-26 11:23:31 -06:00
|
|
|
|
2017-03-08 16:46:26 -06:00
|
|
|
comment "LLVM C++ Library (libcxx)"
|
|
|
|
|
|
|
|
config LIBCXX
|
|
|
|
bool "Build LLVM libcxx (must be installed)"
|
|
|
|
default n
|
2019-09-27 12:31:08 -06:00
|
|
|
select CLOCK_MONOTONIC
|
2019-01-27 07:00:07 -06:00
|
|
|
select LIBC_WCHAR
|
2019-10-12 08:51:13 +08:00
|
|
|
select LIBC_LOCALE
|
2017-03-08 16:46:26 -06:00
|
|
|
---help---
|
2018-09-13 14:03:09 -06:00
|
|
|
If you have installed libcxx into the NuttX source tree, then it can
|
2017-03-08 16:46:26 -06:00
|
|
|
be built by selecting this option. See the README.txt file in the
|
2018-09-13 14:03:09 -06:00
|
|
|
libcxx package for information on installing libcxx.
|
2017-03-08 16:46:26 -06:00
|
|
|
|
2012-11-01 21:08:56 +00: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 08:08:57 -06:00
|
|
|
be built by selecting this option. See the README.txt file in the
|
|
|
|
uClibc++ packet for information on installing uClibc++.
|
2012-11-01 21:08:56 +00:00
|
|
|
|
|
|
|
if UCLIBCXX
|
|
|
|
|
2020-06-27 17:20:25 +08:00
|
|
|
config UCLIBCXX_BUFSIZE
|
|
|
|
int "IO Stream/Container Buffer Size"
|
2012-11-01 21:08:56 +00:00
|
|
|
default 32
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|