[yocto] baremetal cross-compiler

Bystricky, Juro juro.bystricky at intel.com
Tue Aug 23 09:11:44 PDT 2016


sorry for the late reply, somehow this mail fell through the cracks.
Indeed, setting TCLIBC="baremetal" is all you should need to do.

FWIW, I use these values in my local.conf:

MACHINE = "qemuarm"
TCLIBC = "baremetal"
TUNE_FEATURES = "armv7m cortexm3" 
PACKAGE_CLASSES = "package_ipk"
bitbake meta-toolchain

Juro

> -----Original Message-----
> From: Paul Eggleton [mailto:paul.eggleton at linux.intel.com]
> Sent: Wednesday, July 6, 2016 8:33 PM
> To: Robert Berger <gmane at reliableembeddedsystems.com>
> Cc: yocto at yoctoproject.org; Bystricky, Juro <juro.bystricky at intel.com>
> Subject: Re: [yocto] baremetal cross-compiler
> 
> Hi Robert,
> 
> On Tue, 05 Jul 2016 12:02:11 Robert Berger wrote:
> > According to the release notes it should be possible to build a
> > baremetal (no glibc/Linux) cross compiler with the YP. I just can't find
> > any information how this could be done.
> >
> > I would like to build a native compiler e.g. for a Cortex-A3 and compile
> > FreeRTOS with it.
> 
> It looks like all you should need to do would be to set TCLIBC =
> "baremetal"
> and build the toolchain. Juro, is there any more to it than that?
> 
> Cheers,
> Paul
> 
> --
> 
> Paul Eggleton
> Intel Open Source Technology Centre



More information about the yocto mailing list