All of lore.kernel.org
 help / color / mirror / Atom feed
* baremetal cross-compiler
@ 2016-07-05  9:02 Robert Berger
  2016-07-05 13:38 ` Daniel.
  2016-07-07  3:32 ` Paul Eggleton
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Berger @ 2016-07-05  9:02 UTC (permalink / raw)
  To: yocto

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: baremetal cross-compiler
  2016-07-05  9:02 baremetal cross-compiler Robert Berger
@ 2016-07-05 13:38 ` Daniel.
  2016-07-07  3:32 ` Paul Eggleton
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel. @ 2016-07-05 13:38 UTC (permalink / raw)
  To: Robert Berger; +Cc: yocto@yoctoproject.org

That would be interesting, please keep me in CC list :)

2016-07-05 6:02 GMT-03:00 Robert Berger <gmane@reliableembeddedsystems.com>:
> 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
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
"Do or do not. There is no try"
  Yoda Master


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: baremetal cross-compiler
  2016-07-05  9:02 baremetal cross-compiler Robert Berger
  2016-07-05 13:38 ` Daniel.
@ 2016-07-07  3:32 ` Paul Eggleton
  2016-08-23 16:11   ` Bystricky, Juro
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2016-07-07  3:32 UTC (permalink / raw)
  To: Robert Berger; +Cc: yocto

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: baremetal cross-compiler
  2016-07-07  3:32 ` Paul Eggleton
@ 2016-08-23 16:11   ` Bystricky, Juro
  0 siblings, 0 replies; 4+ messages in thread
From: Bystricky, Juro @ 2016-08-23 16:11 UTC (permalink / raw)
  To: Paul Eggleton, Robert Berger; +Cc: yocto@yoctoproject.org

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@linux.intel.com]
> Sent: Wednesday, July 6, 2016 8:33 PM
> To: Robert Berger <gmane@reliableembeddedsystems.com>
> Cc: yocto@yoctoproject.org; Bystricky, Juro <juro.bystricky@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-23 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-05  9:02 baremetal cross-compiler Robert Berger
2016-07-05 13:38 ` Daniel.
2016-07-07  3:32 ` Paul Eggleton
2016-08-23 16:11   ` Bystricky, Juro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.