<div dir="ltr">That's what I found.  Thanks.  Sorry for taking so long to answer.  I missed seeing your reply.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 30, 2015 at 9:48 AM, Thomas PERROT <span dir="ltr"><<a href="mailto:thomas.perrot@tupi.fr" target="_blank">thomas.perrot@tupi.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
There are two solutions, you can specify a preferred compiler in a<br>
recipe or change the main compiler.<br>
<br>
To change preferred compiler in a recipe:<br>
TOOLCHAIN_pn-<recipe-name> = "<your_compiler>"<br>
DEPENDS_append_pn-<recipe-name> = " <your_compiler>-cross "<br>
<br>
To change the main compiler:<br>
TOOLCHAIN = "<your_compiler>"<br>
<br>
There is a example in the official wiki :<br>
<a href="http://www.openembedded.org/wiki/Adding_a_secondary_toolchain" target="_blank">http://www.openembedded.org/wiki/Adding_a_secondary_toolchain</a><br>
<br>
Best regards,<br>
Thomas P.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Fri, Mar 27, 2015 at 10:32 PM, Mehaffey, John<br>
<<a href="mailto:John_Mehaffey@mentor.com">John_Mehaffey@mentor.com</a>> wrote:<br>
> Hi Dan,<br>
> I don't generally do compilers, but the Yocto way is to create another<br>
> recipe where the SRC_URI points to the tarball/git repository you want to<br>
> build from. It may be that you will need to start with an older compiler .bb<br>
> recipe, you don't say how far back you need to go.<br>
><br>
> You don't really say what you've tried, so I can't help much with specifics,<br>
> as I am not sure of your level of proficiency with Yocto/bitbake.<br>
><br>
><br>
> Sincerely,<br>
> John Mehaffey<br>
> Linux System Architect<br>
> Mentor Graphics<br>
> ________________________________<br>
> From: <a href="mailto:linux-yocto-bounces@yoctoproject.org">linux-yocto-bounces@yoctoproject.org</a><br>
> [<a href="mailto:linux-yocto-bounces@yoctoproject.org">linux-yocto-bounces@yoctoproject.org</a>] on behalf of Dan Gundlach<br>
> [<a href="mailto:cyclist2918@gmail.com">cyclist2918@gmail.com</a>]<br>
> Sent: Friday, March 27, 2015 1:33 PM<br>
> To: <a href="mailto:linux-yocto@yoctoproject.org">linux-yocto@yoctoproject.org</a><br>
> Subject: [linux-yocto] multiple compilers<br>
><br>
> How do I configure yocto to create multiple compilers?  I need to create a<br>
> second (older) compiler to build the kernel.  It won't boot using the<br>
> current one.  I've searched in vain to find a solution.  It says you can do<br>
> it, but it dosn't tell you how.<br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<br>
> _______________________________________________<br>
> linux-yocto mailing list<br>
> <a href="mailto:linux-yocto@yoctoproject.org">linux-yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/linux-yocto" target="_blank">https://lists.yoctoproject.org/listinfo/linux-yocto</a><br>
><br>
</font></span></blockquote></div><br></div>