[PATCH 1/9] [waf] Fatal error if the compiler can't be found

Hesham Almatary hesham.almatary at cl.cam.ac.uk
Fri Apr 10 20:38:36 UTC 2020


Hello Sebastian,

On Fri, 10 Apr 2020 at 20:23, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> On 10/04/2020 12:39, Hesham Almatary wrote:
>
> > Don't default to gcc if the compiler can't be found
>
> All options should have a default. I should be possible to build a BSP
> just with:
>
> [arch/bsp]
>
This patch doesn't change that behaviour. You can still build a BSP
without providing --rtems-compiler at all and it will default to GCC.
However, this patch addresses the case when you provide an
"--rtems-compiler=blah", where "blah" can't be found nor supported.
For example, without this patch, if I pass "--rtems-compiler=clang"
and it's not supported/found, it will fallback default to GCC silently
without giving any errors. I don't think that's a desirable behaviour.


More information about the devel mailing list