On Thu, 24 Oct 2019 at 09:55, Sebastian Huber
<[email protected]> wrote:
>
> On 23/10/2019 15:44, Hesham Almatary wrote:
> > +# Clang-related flags
> > +CPU_CFLAGS += -target riscv64-unknown-rtems6 -D__rtems__ 
> > --sysroot=$(NEWLIB_SYSROOT)
>
> Was clang configured to support this target? If yes, then why doesn't it
> define __rtems__ automatically?
>
That makes more sense, I will work on it. Yes, our Clang project does
support RTEMS [1], which hopefully will end up upstream.

[1] 
https://github.com/CTSRD-CHERI/llvm-project/blob/master/clang/lib/Driver/ToolChains/RTEMS.cpp

> --
> 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  : [email protected]
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> _______________________________________________
> devel mailing list
> [email protected]
> http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to