RFC: Building RTEMS/RISC-V with LLVM/Clang

Hesham Almatary hesham.almatary at cl.cam.ac.uk
Wed Oct 23 13:50:48 UTC 2019


Hi,

I submitted a RFC patch series to be able to build RTEMS/RISC-V with
LLVM/Clang. I'd appreciate your feedback on that.

A sample configure line to build RTEMS with LLVM/Clang is:

../rtems/configure --target=riscv-rtems6
--enable-rtemsbsp=rv64imafdc_clang  CC_FOR_TARGET="clang"
CXX_FOR_TARGET="clang++" AR_FOR_TARGET="llvm-ar"

NEWLIB_SYSROOT env variable needs to point to where newlib is
installed while configuring/building RTEMS.

Regards,
Hesham


More information about the devel mailing list