2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2012-04-11 07:49:13 +08:00
|
|
|
|
2012-11-02 08:22:52 +08:00
|
|
|
comment "Basic CXX Support"
|
|
|
|
|
2012-12-08 00:00:56 +08: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 22:50:57 +08:00
|
|
|
config HAVE_CXX
|
2012-04-11 07:49:13 +08:00
|
|
|
bool "Have C++ compiler"
|
2012-04-07 22:50:57 +08:00
|
|
|
default n
|
|
|
|
---help---
|
2014-04-14 06:22:22 +08:00
|
|
|
Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
|
2012-04-11 07:49:13 +08:00
|
|
|
defined in the configurations Make.defs file.
|
2012-04-07 22:50:57 +08:00
|
|
|
|
2012-11-02 05:08:56 +08:00
|
|
|
if HAVE_CXX
|
|
|
|
|
2020-10-27 09:12:57 +08:00
|
|
|
choice
|
|
|
|
prompt "C++ Library"
|
2021-08-29 21:36:24 +08:00
|
|
|
default LIBCXXMINI
|
2020-10-27 09:12:57 +08:00
|
|
|
|
2021-08-29 21:36:24 +08:00
|
|
|
config LIBCXXMINI
|
|
|
|
bool "Basic C++ support"
|
2020-10-27 09:12:57 +08:00
|
|
|
---help---
|
|
|
|
A fragmentary C++ library that will allow to build only
|
2021-08-25 14:26:21 +08:00
|
|
|
the simplest of C++ applications. Only contain basic C++
|
|
|
|
runtime support function.
|
2020-10-27 09:12:57 +08:00
|
|
|
|
|
|
|
config LIBCXX
|
|
|
|
bool "LLVM libc++ C++ Standard Library"
|
|
|
|
select CLOCK_MONOTONIC
|
|
|
|
select LIBC_WCHAR
|
|
|
|
select LIBC_LOCALE
|
|
|
|
---help---
|
|
|
|
LLVM "libc++" C++ Standard Library
|
|
|
|
https://libcxx.llvm.org/
|
|
|
|
|
|
|
|
config UCLIBCXX
|
|
|
|
bool "uClibc++ Standard C++ Library"
|
|
|
|
---help---
|
|
|
|
uClibc++ C++ library
|
|
|
|
https://cxx.uclibc.org/
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2021-08-25 14:26:21 +08:00
|
|
|
if LIBCXX || UCLIBCXX
|
|
|
|
|
2021-08-19 17:11:50 +08:00
|
|
|
choice
|
|
|
|
prompt "C++ low level library select"
|
2021-08-28 00:13:21 +08:00
|
|
|
default LIBSUPCXX
|
2021-08-19 17:11:50 +08:00
|
|
|
|
|
|
|
config LIBCXXABI
|
|
|
|
bool "LLVM low level C++ Library"
|
|
|
|
---help---
|
|
|
|
LLVM "libc++abi" C++ Standard Library
|
|
|
|
https://libcxxabi.llvm.org/
|
|
|
|
Select if your use libc++abi as lower level c++ library
|
|
|
|
|
2021-08-28 00:13:21 +08:00
|
|
|
config LIBSUPCXX
|
2021-08-19 17:11:50 +08:00
|
|
|
bool "GNU low level libsupc++"
|
|
|
|
---help---
|
|
|
|
Select if your toolchain provides libsupc++ and use libsupc++ as lower
|
|
|
|
level c++ library.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2021-08-25 14:26:21 +08:00
|
|
|
endif
|
|
|
|
|
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-27 01:23:31 +08:00
|
|
|
config CXX_EXCEPTION
|
2020-06-28 23:03:57 +08:00
|
|
|
bool "Enable Exception Support"
|
2019-01-27 01:23:31 +08:00
|
|
|
|
2012-11-02 05:08:56 +08:00
|
|
|
if UCLIBCXX
|
|
|
|
|
2020-06-27 17:20:25 +08:00
|
|
|
config UCLIBCXX_BUFSIZE
|
|
|
|
int "IO Stream/Container Buffer Size"
|
2012-11-02 05:08:56 +08:00
|
|
|
default 32
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|