summaryrefslogtreecommitdiff
path: root/nuttx/libxx/Kconfig
blob: 3593939cb1aba8f9192640553f154bd87d403327 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

comment "Basic CXX Support"

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.

config 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.

if HAVE_CXX

config HAVE_CXXINITIALIZE
	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---
		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

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.

endif
endif