sim/x64: Enable cxx new long (#139)

CXX error:
libxx_new.cxx:68:39: error: operator new takes type size_t
(long unsigned int) as first parameter [-fpermissive]
 void *operator new(unsigned int nbytes)

Change-Id: Id7aa74d1df5536f0d2cd1437ee55fc059590bdca
Signed-off-by: chao.an <anchao@xiaomi.com>

Co-authored-by: archer <758493+anchao@users.noreply.github.com>
This commit is contained in:
Xiang Xiao 2020-01-21 06:26:24 -08:00 committed by Abdelatif Guettouche
parent c3ba541bd2
commit 389e8828df
4 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ CONFIG_ARCH_BOARD_SIM=y
CONFIG_ARCH_CHIP="sim"
CONFIG_ARCH_SIM=y
CONFIG_BOARD_LOOPSPERMSEC=100
CONFIG_CXX_NEWLONG=y
CONFIG_HAVE_CXX=y
CONFIG_IDLETHREAD_STACKSIZE=4096
CONFIG_LIBM=y

View File

@ -14,6 +14,7 @@ CONFIG_ARCH_BOARD_SIM=y
CONFIG_ARCH_CHIP="sim"
CONFIG_ARCH_SIM=y
CONFIG_BUILTIN=y
CONFIG_CXX_NEWLONG=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DISABLE_POSIX_TIMERS=y
CONFIG_EXAMPLES_NX=y

View File

@ -15,6 +15,7 @@ CONFIG_ARCH_BOARD_SIM=y
CONFIG_ARCH_CHIP="sim"
CONFIG_ARCH_SIM=y
CONFIG_BOARD_LOOPSPERMSEC=0
CONFIG_CXX_NEWLONG=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DISABLE_POSIX_TIMERS=y
CONFIG_EXAMPLES_NXLINES=y

View File

@ -13,6 +13,7 @@ CONFIG_ARCH_BOARD="sim"
CONFIG_ARCH_BOARD_SIM=y
CONFIG_ARCH_CHIP="sim"
CONFIG_ARCH_SIM=y
CONFIG_CXX_NEWLONG=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DISABLE_POSIX_TIMERS=y
CONFIG_FAT_LCNAMES=y