baremetal cross-compiler
Hi,
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.
Please advise,
Robert
..."The pure and simple truth is rarely pure and never simple." - Oscar Wilde
My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1
That would be interesting, please keep me in CC list :)
2016-07-05 6:02 GMT-03:00 Robert Berger <[email protected]>:
Quoted 24 lines
Hi,
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.
Please advise,
Robert
..."The pure and simple truth is rarely pure and never simple." - Oscar WildeMy public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Signature · 2 lines
"Do or do not. There is no try" Yoda Master
Hi Robert,
Quoted 6 lines · 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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
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
Quoted 28 lines
-----Original Message-----
From: Paul Eggleton [mailto:[email protected]]
Sent: Wednesday, July 6, 2016 8:33 PM
To: Robert Berger <[email protected]>
Cc: [email protected]; Bystricky, Juro <[email protected]>
Subject: Re: [yocto] baremetal cross-compilerHi Robert,
Quoted 6 lines · 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