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

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Apr 10 20:38:02 UTC 2020


On 10/04/2020 22:38, Hesham Almatary wrote:

> 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.
Could you give me an example command line which shows the undesired 
behaviour?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200410/ea261c7c/attachment.html>


More information about the devel mailing list