[yocto] Difference of toolchain recipes

Mark Hatle mark.hatle at windriver.com
Wed Dec 12 09:08:06 PST 2012


On 12/11/12 3:20 PM, Rifenbark, Scott M wrote:
> I think what I am going to do is document these in general as part of the "Terms" section in the YP Development Manual where the term "Cross-Development Toolchain" is defined.  Would putting such a high-level list in the YP documentation be unnecessary or helpful?

I think it would.  The set of compiler/toolchain elements we have is definitely 
confusing to someone new.

--Mark

> Scott
>
>> -----Original Message-----
>> From: yocto-bounces at yoctoproject.org [mailto:yocto-
>> bounces at yoctoproject.org] On Behalf Of Mark Hatle
>> Sent: Thursday, December 06, 2012 10: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