[PATCH 9/9] [waf] Add an option to build C++ sample applications

Hesham Almatary hesham.almatary at cl.cam.ac.uk
Fri Apr 10 20:45:58 UTC 2020


On Fri, 10 Apr 2020 at 19:07, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> Hello,
>
> C++ tests should be disabled if the configure didn't find a C++
> compiler. Do we have an architecture without C++ support from the compiler?
>
Having clang++ doesn't mean it can still compile C++ apps. Similar to
having to build newlib and compiler-rt (LLVM's flavour of libgcc)
separately from the LLVM toolchain, for C++, we need to also build
LLVM's libcxx(rt) and libunwind. I haven't tested those yet for RISC-V
and I'm not sure if they build/work fine, hence I added that option.


More information about the devel mailing list