<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1323</bug_id>
          
          <creation_ts>2011-08-03 07:03:27 +0000</creation_ts>
          <short_desc>Need details on how to utilize an external toolchain</short_desc>
          <delta_ts>2011-11-08 11:44:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>baf6bf4a5de176a5ad0fbaf436134c767eeed9ac</bug_file_loc>
          <status_whiteboard>7-oct-2011</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kumar Gala">galak</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>mail</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15186</commentid>
    <comment_count>0</comment_count>
    <who name="Kumar Gala">galak</who>
    <bug_when>2011-08-03 07:03:27 +0000</bug_when>
    <thetext>There are nothing that really talks about how to utilize an external toolchain with poky</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15469</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2011-08-15 11:56:56 +0000</bug_when>
    <thetext>Will try to get this in for 1.1.  Need to go through the email threads that lead up to this bug and figure out the doc solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15531</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2011-08-17 16:00:31 +0000</bug_when>
    <thetext>In the Poky Ref Manual FAQ appendix we have the following:

&quot;H.23.  How do I use an external toolchain?

The toolchain configuration is very flexible and customizable.  It is primarily controlled with the TCMODE variable.  This variable controls which file to include (conf/distro/include/tcmod-*.inc).

The default value of TCMODE is &quot;default&quot;.  However, other patterns are accepted.  In particular, &quot;external-*&quot; refers to external toolchains of which there are some basic examples included with the core.  A user can use their own custom toolchain definition in their own layer (or local.conf directory) at the location conf/distro/include/tcmode-*.inc.

In addition to the toolchain configuration, you also need a correspoinding toolchain recipe file.  This recipe file needs to package up any pre-built objects in the toolchain such as libgcc, libstdcc++, any locales and libc.  An example is the external-csl-toolchain_2008q3-72.bb, which reuses the core libc packaging class to do most of the work.&quot;

I also have a newly re-written section in the section that talks about application development using the Yocto Project.  The first sub-section titled &quot;External Development Using the Meta-Toolchain&quot; talks in general about using toolchains.  Currently, there is no mention of TCMODE in this section.  I can add information about the TCMODE variable to this section and also reference the FAQ entry.

A final point I can add is a glossary entry for the TCMODE variable to the glossary appendix, which currently has no entry for TCMODE.

Will these changes be acceptable for resolving this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16786</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2011-10-07 08:46:54 +0000</bug_when>
    <thetext>Solution is in the place.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17155</commentid>
    <comment_count>4</comment_count>
    <who name="Matthias Dübon">mail</who>
    <bug_when>2011-11-08 11:44:42 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Solution is in the place.

I am trying to use the external toolchain external-csl2008q3 (setting toolchain  TCMODE = &quot;external-csl2008q3&quot; in /meta-yocto/conf/distro/poky.conf) on qemuarm. When building with &quot;bitbake core-image-minimal&quot; on machine &quot;qemuarm&quot; I get dependency loops.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>