<div dir="ltr">Hey btw I just got a gcc 4.7.2 setup running last night for Sylvestre at Debian.  (They're stuck on 4.7.2 on one of their releases).<div><br></div><div>I had to change a few things, nothing major.  See this revision (r212681) for details.</div>
<div><a href="http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140707/011717.html">http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140707/011717.html</a><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 1:57 PM, Greg Clayton <span dir="ltr"><<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I believe we currently assume gcc 4.8.2, MSVC 2012 and a recent clang (I don't know what clang 3.1 maps to as we have different builds at Apple).<br>
<br>
If GCC 4.7 can handle all of the C++11 that we have in LLDB, I am all for trying to support it. It there are major changes required, we might need to bump the requirement to gcc 4.8.2. If someone can find out how the LLDB build goes with gcc 4.7 that would be great.<br>

<span class="HOEnZb"><font color="#888888"><br>
Greg Clayton<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> On Jul 7, 2014, at 9:38 PM, Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br>
><br>
> Managed to get this fixed, so if you sync you should be good to go now.  Sorry for the trouble.<br>
><br>
><br>
> Regarding Chandler's comment on GCC version, I suppose it wouldn't be too difficult of an experiment to just try older versions of GCC and see if the errors that arise are trivially fixable.<br>
><br>
><br>
> On Mon, Jul 7, 2014 at 7:50 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:<br>
> On Mon, Jul 7, 2014 at 7:11 PM, Randy Smith <<a href="mailto:rdsmith@chromium.org">rdsmith@chromium.org</a>> wrote:<br>
> Is there a goal of keeping lldb compatible with building with gcc?  I've been building successfully with gcc 4.8.2, but compiling at r212507 just broke with that gcc on a source line that was recently (today) changed.<br>

><br>
> Historically, my understanding is that LLDB has required much more recent GCCs to build than the rest of LLVM, even LLD (which has always used C++11). Personally, now that the baseline for LLVM's compiler support is more reasonably modern (GCC 4.7, MSVC 2012, Clang 3.1) I wonder if it would be acceptable to the LLDB developers to have a common baseline of host toolchain support with the rest of the LLVM project[1]? If not, I wonder what the LLVM baseline would need to be before they could be the same? Not a big deal, but would simplify one point of "getting started" for folks trying to hack on LLDB.<br>

><br>
> -Chandler<br>
><br>
> [1] The details are here: <a href="http://llvm.org/docs/CodingStandards.html#supported-c-11-language-and-library-features" target="_blank">http://llvm.org/docs/CodingStandards.html#supported-c-11-language-and-library-features</a><br>

><br>
><br>
> _______________________________________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
><br>
><br>
<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
<td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>