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.eggle...@linux.intel.com]
> Sent: Wednesday, July 6, 2016 8:33 PM
> To: Robert Berger <gm...@reliableembeddedsystems.com>
> Cc: yocto@yoctoproject.org; Bystricky, Juro <juro.bystri...@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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to