<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 17, 2016 at 1:41 PM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 17 October 2016 at 19:44, Daniel Berlin <<a href="mailto:dberlin@dberlin.org">dberlin@dberlin.org</a>> wrote:<br>
> First stage of gcc is the entire compiler, not a subset or a different<br>
> compoiler.<br>
<br>
</span>I didn't mean a different compiler, just not a full "toolchain".<br></blockquote><div><br></div><div>Ah.</div><div>You said "<span style="color:rgb(80,0,80);font-size:12.8px">GCC has a reduced sub-set of the compiler that works with many old</span></div><span style="color:rgb(80,0,80);font-size:12.8px">compiler".</span></div><div class="gmail_quote"><br></div><div class="gmail_quote">This is the part i meant is not correct anymore. It does not have a reduced subset.</div><div class="gmail_quote">This was kind of true at one point.  It used to be that the C compiler even worked with K&R through conversion.</div><div class="gmail_quote">Nowadays, even this has fallen by the wayside.</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
As far as my knowledge of Linaro's process goes, stage 1 uses the<br>
system libraries and tools (could be cross), and they use the stage 1<br>
to build the intended versions of the libraries and tools (stage<br>
1.5?), </blockquote><div><br></div><div>Yes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">and use that "incomplete" build + new libraries and tools to<br>
build stage 2.</blockquote><div><br></div><div>I wouldn't call it "incomplete". In most cases, it includes all compilers and languages and libraries :) </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Stage 3 should be identical, for verification<br>
processes.<br></blockquote><div>Yes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The difference with LLVM is that we don't build the libraries with<br>
stage 1's Clang, but the system compiler/tools/libraries as well,<br>
making it a simple 2-stage build, as opposed to a 2.5 stage build.<br>
When it comes to the C libraries, we don't even build them at all, and<br>
use the system libraries even on stage 2.<br>
<br>
cheers,<br>
--renato<br>
</blockquote></div><br></div></div>