[yocto] Difference of toolchain recipes

Luo Zhenhua-B19537 B19537 at freescale.com
Thu Dec 6 19:16:27 PST 2012


Hello Mark,

Thanks a lot, this is very helpful for understanding the different recipes of toolchain. 


Best Regards,

Zhenhua

> -----Original Message-----
> From: yocto-bounces at yoctoproject.org [mailto:yocto-
> bounces at yoctoproject.org] On Behalf Of Mark Hatle
> Sent: Friday, December 07, 2012 2:05 AM
> To: yocto at yoctoproject.org
> Subject: Re: [yocto] Difference of toolchain recipes
> 
> On 12/6/12 4:00 AM, Luo Zhenhua-B19537 wrote:
> > Can anybody shed some light, please?
> >
> >
> > Best Regards,
> >
> > Zhenhua
> >
> >
> >> -----Original Message-----
> >> From: Luo Zhenhua-B19537
> >> Sent: Tuesday, December 04, 2012 11:53 AM
> >> To: openembedded-core at lists.openembedded.org; 'yocto at yoctoproject.org'
> >> Subject: Difference of toolchain recipes
> >>
> >> It is a bit confused for the different recipes of toolchian, can
> >> somebody help to explain what's the difference for those recipes?
> >> E.g. gcc-cross, gcc-cross-canadian, gcc-cross-initial,
> >> gcc-cross-intermediate, gcc- crosssdk, gcc-crosssdk-initial,
> >> gcc-crosssdk-intermediate, gcc-runtime, etc.
> 
> gcc-cross-initial - This is the initial compiler needed to bootstrap the
> toolchain to build software on the host for the target.  (This is a
> 'native'
> package.)
> 
> gcc-cross-intermediate - This is the second stage of the bootstrap
> process to build software on the host for the target. (This is a 'native'
> package.)
> 
> gcc-cross - this is the the final stage of the bootstrap process, and
> results in the cross compiler to build software on the host for the
> target.  (This is a 'native' package.)  If you are replacing the cross
> compiler toolchain with a custom version, this is what you must replace.
> 
> gcc-runtime - these are the runtime libraries, but from the toolchain
> bootstrapping process.  This results in a 'target' binary.
> 
> gcc-crosssdk-initial/intermediate - stage 1 and 2 of the a cross compiler
> to build from the 'host' to the 'sdk'.  Often the SDK is not the same
> target as the host.  (This is a 'native' binary.)
> 
> gcc-crosssdk - this the final stage of the SDK compiler.  Again, this is
> to build on the host, for the sdk.  This is a 'native' binary.
> 
> gcc-cross-canadian - This is the compiler included with the SDK to build
> on the SDK machine creating software for the target.  This is an
> 'nativesdk' package.
> 
> >> Is there any document for those description?
> 
> Not that I know of.. It's one of those things that you kind of need to
> know in order to work with it.  It likely should be documented somewhere
> officially.
> 
> --Mark
> 
> >>
> >>
> >> Best Regards,
> >>
> >> Zhenhua
> >
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto





More information about the yocto mailing list