blob: 749a3ab0a5c8e6702f8e2fe34b0c6aea305b74cc (
plain)
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
|
menuconfig RT_USING_CPLUSPLUS
bool "Enable C++ features"
default n
if RT_USING_CPLUSPLUS
config RT_USING_CPP_CRT_INIT
bool "Startup runtime already runs .init_array constructors"
default y if SOC_SIMULATOR
default n
help
Enable this for GCC ports whose startup runtime already walks the
.init_array section, so that RT-Thread skips it and does not run
the constructors twice. RT-Thread still walks the ctors range.
This option is usually set by the BSP; do not change it manually.
Leave this disabled when the startup code relies on the empty
__libc_init_array provided by RT-Thread's newlib port, which
defers constructors to RT-Thread.
config RT_USING_CPLUSPLUS11
bool "Enable C++11 standard multi-threading feature support"
default n
select RT_USING_POSIX_FS
select RT_USING_POSIX_STDIO
select RT_USING_PTHREADS
select RT_USING_RTC
config RT_USING_CPP_WRAPPER
bool "Enable RT-Thread APIs C++ wrapper"
default n
config RT_USING_CPP_EXCEPTIONS
bool "Enable C++ exceptions (will increase overhead)"
default n
endif
|