From 7ba609762930089f5ccc05adaa7f31e308f5761a Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Wed, 20 Mar 2019 01:47:32 -0700 Subject: riscv64-unknown-linux-gnu: Add C++ Support We've had very solid support for C++ for quite a while now in RISC-V land, at least in our Linux targets. This patch set enables C++ support by default, which I assume most users will want. Signed-off-by: Palmer Dabbelt diff --git a/samples/riscv64-unknown-linux-gnu/crosstool.config b/samples/riscv64-unknown-linux-gnu/crosstool.config index a03f6e8..c12993c 100644 --- a/samples/riscv64-unknown-linux-gnu/crosstool.config +++ b/samples/riscv64-unknown-linux-gnu/crosstool.config @@ -5,6 +5,7 @@ CT_ARCH_RISCV=y CT_ARCH_USE_MMU=y CT_ARCH_64=y CT_ARCH_ARCH="rv64gc" +CT_CC_LANG_CXX=y CT_KERNEL_LINUX=y CT_DEBUG_GDB=y # CT_GDB_CROSS_PYTHON is not set -- cgit v0.10.2-6-g49f6