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

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 13 14:48:00 UTC 2019


Hello Hesham,

On 23/10/2019 15:50, Hesham Almatary wrote:
> 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"

Could you provide me a 64-bit Linux binary installation of your clang 
toolchain so that I can test it locally?

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

To which directory NEWLIB_SYSROOT in the /opt/rtems/5 installation tree 
must this point?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list