uClibc++ exceptions are working
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5312 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
23fe4e4c2a
commit
8abb4d1f2f
@ -215,9 +215,11 @@ cxxtest
|
|||||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||||
reconfiguration process.
|
reconfiguration process.
|
||||||
|
|
||||||
3. At present (2012/11/02), this example builds only with exceptions
|
3. At present (2012/11/02), exceptions are disabled in this example
|
||||||
disabled (CONFIG_UCLIBCXX_EXCEPTIONS=n). And even then, it will
|
CONFIG_UCLIBCXX_EXCEPTIONS=n). It is probably not necessary to
|
||||||
not run.
|
disable exceptions.
|
||||||
|
|
||||||
|
4. Unfortunately, this example will not run now.
|
||||||
|
|
||||||
The reason that the example will not run on the simulator has
|
The reason that the example will not run on the simulator has
|
||||||
to do with when static constructors are enabled: In the simulator
|
to do with when static constructors are enabled: In the simulator
|
||||||
|
@ -1035,8 +1035,7 @@ Where <subdir> is one of the following:
|
|||||||
|
|
||||||
arm-none-eabi-ar.exe rcs libsupc++.a vterminate.o
|
arm-none-eabi-ar.exe rcs libsupc++.a vterminate.o
|
||||||
|
|
||||||
4. At present (2012/11/02), this example builds only with exceptions
|
4. Exceptions are enabled and workking (CONFIG_UCLIBCXX_EXCEPTIONS=y)
|
||||||
disabled (CONFIG_UCLIBCXX_EXCEPTIONS=n).
|
|
||||||
|
|
||||||
elf:
|
elf:
|
||||||
---
|
---
|
||||||
|
@ -73,6 +73,8 @@ CONFIG_ARCH_CHIP_STM32=y
|
|||||||
CONFIG_ARCH_CORTEXM4=y
|
CONFIG_ARCH_CORTEXM4=y
|
||||||
CONFIG_ARCH_FAMILY="armv7-m"
|
CONFIG_ARCH_FAMILY="armv7-m"
|
||||||
CONFIG_ARCH_CHIP="stm32"
|
CONFIG_ARCH_CHIP="stm32"
|
||||||
|
CONFIG_ARCH_HAVE_CMNVECTOR=y
|
||||||
|
# CONFIG_ARMV7M_CMNVECTOR is not set
|
||||||
# CONFIG_ARCH_FPU is not set
|
# CONFIG_ARCH_FPU is not set
|
||||||
CONFIG_ARCH_HAVE_MPU=y
|
CONFIG_ARCH_HAVE_MPU=y
|
||||||
# CONFIG_ARMV7M_MPU is not set
|
# CONFIG_ARMV7M_MPU is not set
|
||||||
@ -414,7 +416,7 @@ CONFIG_HAVE_CXXINITIALIZE=y
|
|||||||
# uClibc++ Standard C++ Library
|
# uClibc++ Standard C++ Library
|
||||||
#
|
#
|
||||||
CONFIG_UCLIBCXX=y
|
CONFIG_UCLIBCXX=y
|
||||||
# CONFIG_UCLIBCXX_EXCEPTION is not set
|
CONFIG_UCLIBCXX_EXCEPTION=y
|
||||||
CONFIG_UCLIBCXX_IOSTREAM_BUFSIZE=32
|
CONFIG_UCLIBCXX_IOSTREAM_BUFSIZE=32
|
||||||
CONFIG_UCLIBCXX_HAVE_LIBSUPCXX=y
|
CONFIG_UCLIBCXX_HAVE_LIBSUPCXX=y
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user