<div dir="ltr">I was using that based on the non-official documentation (i.e. presentation at the Linux event).</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 4:06 PM, Bill Traynor <span dir="ltr"><<a href="mailto:btraynor@gmail.com" target="_blank">btraynor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try with:<br>
<br>
TCMODE = "external-csl"<br>
EXTERNAL_TOOLCHAIN = "/path/to/sourcery/toolchain"<br>
<br>
On Wed, Jul 24, 2013 at 3:47 AM, Rifenbark, Scott M<br>
<div><div class="h5"><<a href="mailto:scott.m.rifenbark@intel.com">scott.m.rifenbark@intel.com</a>> wrote:<br>
> Hi,<br>
><br>
><br>
><br>
> Can anyone address the toolchain questions here for Laszlo?<br>
><br>
><br>
><br>
> Thanks,<br>
><br>
> Scott<br>
><br>
><br>
><br>
> From: <a href="mailto:djszapi@archlinux.us">djszapi@archlinux.us</a> [mailto:<a href="mailto:djszapi@archlinux.us">djszapi@archlinux.us</a>] On Behalf Of Laszlo<br>
> Papp<br>
> Sent: Tuesday, July 23, 2013 11:52 PM<br>
> To: Rifenbark, Scott M<br>
> Cc: Wold, Saul<br>
> Subject: Re: FW: [OE-core] Doc: external toolchain<br>
><br>
><br>
><br>
> OK, thanks.<br>
><br>
><br>
><br>
> I am facing this issue, any clue?<br>
><br>
><br>
><br>
> ERROR: Failed to obtain CodeSourcery toolchain version: Execution of<br>
> '/usr/bin/i686-pc-linux-gnu-gcc -v' failed: command not found<br>
><br>
> ERROR: Failed to obtain CodeSourcery toolchain version: Execution of<br>
> '/usr/bin/i686-pc-linux-gnu-gcc -v' failed: command not found<br>
><br>
><br>
><br>
> This is what I have in my build/conf/local.conf:<br>
><br>
><br>
><br>
> ...<br>
><br>
> TCMODE = "external-sourcery"<br>
><br>
> EXTERNAL_TOOLCHAIN = "/usr"<br>
><br>
> TARGET_PREFIX = "arm-none-linux-gnueabi-"<br>
><br>
> ...<br>
><br>
><br>
><br>
> The external toolchain does exist:<br>
><br>
><br>
><br>
> /usr/bin/arm-none-linux-gnueabi-gcc -v<br>
><br>
> Using built-in specs.<br>
><br>
> COLLECT_GCC=/usr/bin/arm-none-linux-gnueabi-gcc<br>
><br>
> COLLECT_LTO_WRAPPER=/usr/bin/../libexec/gcc/arm-none-linux-gnueabi/4.7.3/lto-wrapper<br>
><br>
> Target: arm-none-linux-gnueabi<br>
><br>
> Configured with:<br>
> /scratch/jbrown/2013.05-arm-linux-release/src/gcc-4.7-2013.05/configure<br>
> --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu<br>
> --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap<br>
> --disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs<br>
> --with-arch=armv5te --with-gnu-as --with-gnu-ld --with-specs='%{save-temps:<br>
> -fverbose-asm}<br>
> %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}<br>
> -D__CS_SOURCERYGXX_MAJ__=2013 -D__CS_SOURCERYGXX_MIN__=5<br>
> -D__CS_SOURCERYGXX_REV__=24 %{O2:%{!fno-remove-local-statics:<br>
> -fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics:<br>
> -fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared<br>
> --enable-lto --enable-symvers=gnu --enable-__cxa_atexit<br>
> --with-pkgversion='Sourcery CodeBench Lite 2013.05-24'<br>
> --with-bugurl=<a href="https://sourcery.mentor.com/GNUToolchain/" target="_blank">https://sourcery.mentor.com/GNUToolchain/</a> --disable-nls<br>
> --prefix=/opt/codesourcery<br>
> --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc<br>
> --with-build-sysroot=/scratch/jbrown/2013.05-arm-linux-release/install/arm-none-linux-gnueabi/libc<br>
> --with-gmp=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr<br>
> --with-mpfr=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr<br>
> --with-mpc=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr<br>
> --with-ppl=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr<br>
> --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'<br>
> --with-cloog=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr<br>
> --with-libelf=/scratch/jbrown/2013.05-arm-linux-release/obj/pkg-2013.05-24-arm-none-linux-gnueabi/arm-2013.05-24-arm-none-linux-gnueabi.extras/host-libs-i686-pc-linux-gnu/usr<br>
> --disable-libgomp --disable-libitm --enable-poison-system-directories<br>
> --with-build-time-tools=/scratch/jbrown/2013.05-arm-linux-release/install/arm-none-linux-gnueabi/bin<br>
> --with-build-time-tools=/scratch/jbrown/2013.05-arm-linux-release/install/arm-none-linux-gnueabi/bin<br>
><br>
> Thread model: posix<br>
><br>
> gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24)<br>
><br>
><br>
><br>
> On Wed, Jul 24, 2013 at 7:19 AM, Rifenbark, Scott M<br>
> <<a href="mailto:scott.m.rifenbark@intel.com">scott.m.rifenbark@intel.com</a>> wrote:<br>
><br>
> Laszlo,<br>
><br>
> Saul forwarded me this email regarding external toolchains.  The "In<br>
> Progress" version of the YP Reference Manual has a new section on toolchains<br>
> in general.  This section, combined with the TCMODE glossary entry and a FAQ<br>
> entry, both in the reference manual, comprise our information on the<br>
> external toolchain topic.  Let me know what specifically would need<br>
> additionally addressed and I can get that on my plate to improve the doc<br>
> set.<br>
><br>
> Thanks,<br>
> Scott<br>
><br>
> <a href="http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#cross-development-toolchain-generation" target="_blank">http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#cross-development-toolchain-generation</a><br>

> <a href="http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-TCMODE" target="_blank">http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-TCMODE</a><br>
> <a href="http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#idm622640" target="_blank">http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#idm622640</a><br>
><br>
><br>
><br>
><br>
>>-----Original Message-----<br>
>>From: Saul Wold [mailto:<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>]<br>
>>Sent: Tuesday, July 23, 2013 3:52 PM<br>
>>To: Rifenbark, Scott M<br>
>>Subject: Fwd: [OE-core] Doc: external toolchain<br>
>><br>
>><br>
>><br>
>><br>
>>-------- Original Message --------<br>
>>Subject:       [OE-core] Doc: external toolchain<br>
>>Date:  Tue, 23 Jul 2013 23:45:28 +0100<br>
>>From:  Laszlo Papp <<a href="mailto:lpapp@kde.org">lpapp@kde.org</a>><br>
>>To:    <a href="mailto:openembedded-core@lists.openembedded.org">openembedded-core@lists.openembedded.org</a><br>
>><br>
>><br>
>><br>
>>Dear gents and ladies,<br>
>><br>
>>it would be nice to get some documentation about this subject. There is<br>
>>only one presentation with only a few short slides about the topic:<br>
>><a href="http://events.linuxfoundation.org/images/stories/slides/elc2013_denys.pd" target="_blank">http://events.linuxfoundation.org/images/stories/slides/elc2013_denys.pd</a><br>
>>f<br>
>><br>
>>I am now having some issues currently, and hard time to figure out what<br>
>>is going on. Note, this thread is not about getting help with that<br>
>>particular issue, but encouraging you to document this, for me,<br>
>>fundamental feature more thoroughly.<br>
>><br>
>>Thank you for your understanding.<br>
>><br>
>>Many thanks,<br>
>>Laszlo<br>
>><br>
>><br>
>><br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
><br>
</blockquote></div><br></div>