From 0819616be7c980481cd570ce39448d84408d7859 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 28 Feb 2012 21:58:24 +0000 Subject: Add support for C++ static constructors (at least to a few platforms) git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4438 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/sure-pic32mx/nsh/defconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nuttx/configs/sure-pic32mx') diff --git a/nuttx/configs/sure-pic32mx/nsh/defconfig b/nuttx/configs/sure-pic32mx/nsh/defconfig index 1f7400c37..f90d09bcc 100644 --- a/nuttx/configs/sure-pic32mx/nsh/defconfig +++ b/nuttx/configs/sure-pic32mx/nsh/defconfig @@ -257,6 +257,9 @@ CONFIG_HAVE_LIBM=n # CONFIG_DEBUG_SYMBOLS - build without optimization and with # debug symbols (needed for use with a debugger). # CONFIG_HAVE_CXX - Enable support for C++ +# CONFIG_HAVE_CXXINITIALIZE - The platform-specific logic includes support +# for initialization of static C++ instances for this architecture +# and for the selected toolchain (via up_cxxinitialize()). # CONFIG_MM_REGIONS - If the architecture includes multiple # regions of memory to allocate from, this specifies the # number of memory regions that the memory manager must @@ -349,6 +352,7 @@ CONFIG_DEBUG_USB=n CONFIG_PIC32MX_USBDEV_REGDEBUG=n CONFIG_HAVE_CXX=n +CONFIG_HAVE_CXXINITIALIZE=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y CONFIG_RR_INTERVAL=0 -- cgit v1.2.3