[RFC PATCH 5/5] riscv: Add a new BSP cfg variant to be built with llvm/clang

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Oct 24 08:55:08 UTC 2019


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?

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