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

Hesham Almatary hesham.almatary at cl.cam.ac.uk
Fri Apr 10 21:18:34 UTC 2020


Also similar to the legacy autotools (--disable-cxx), users might want
to disable building CXX apps from config.ini or the spec.

On Fri, 10 Apr 2020 at 21:45, Hesham Almatary
<hesham.almatary at cl.cam.ac.uk> wrote:
>
> 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