[OE-core] invoking a native compiler (gcc)

Trevor Woerner twoerner at gmail.com
Thu Jan 7 15:40:31 UTC 2016


Hi Robert,

On 01/07/16 03:07, Robert Yang wrote:
>
>
> On 01/07/2016 01:21 PM, Trevor Woerner wrote:
>> If a recipe needs to build some tool on the build machine which it later
>> wants to invoke, my understanding is that BUILD_CC should be used?
>
> Yes, you're right, use ${BUILD_CC}.
>

Ok, thanks. That's what I thought.

I was surprised to find that BUILD_CC is being set to whatever comes up
first in our build computer's PATH. But I guess the alternative would be
to make our builds longer by compiling our own native compiler for such
cases.



More information about the Openembedded-core mailing list