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

Richard Purdie richard.purdie at linuxfoundation.org
Thu Jan 7 16:37:07 UTC 2016


On Thu, 2016-01-07 at 15:46 +0000, Burton, Ross wrote:
> 
> On 7 January 2016 at 15:40, Trevor Woerner <twoerner at gmail.com>
> wrote:
> > 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.
> > 
> You could always set BUILD_CC to explicitly point to the right
> compiler on your machine.  When I was trying to make OE work on
> Darwin I had to set BUILD_CC to point at brew's gcc binaries.

Or you setup PATH to include things in the right order as we do with
other native tools...

Cheers,

Richard



More information about the Openembedded-core mailing list