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

Hesham Almatary hesham.almatary at cl.cam.ac.uk
Mon Oct 28 13:51:36 UTC 2019


On Mon, 28 Oct 2019 at 10:33, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> On 28/10/2019 11:16, Hesham Almatary wrote:
> > Hi Sebastian,
> >
> > The *_clang ones aren't expected to be compiled by GCC (and the native
> > *.cfg won't compile with clang). Is there a reason they should be?
>
> You can build all BSPs of an architecture with:
>
> ../configure --target=riscv-rtems5
>
> This no longer works on riscv.
>
Right, I haven't tested on that level. I'm not sure what's the right
way to do that in configure.ac. Do you've a quick solution in mind? I
can delete the *_clang.cfg files until we figure it out.

> --
> 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