<div dir="ltr"><div>> <span style="font-family:arial,sans-serif;font-size:13px">Didn't realized we even supported using GCC to build libc++.</span></div><div><br></div>I think we should *try* to support the same compilers as LLVM does (minus anything windows related).<div>That way less problems will arise when people build LLVM w/ libc++ in tree.<br><div><div><div><div>However I'm not sure how feasible that is and would like some input from others. </div></div></div></div></div><div><br></div><div>> <span style="font-family:arial,sans-serif;font-size:13px">I thought that gcc already supported -nostdlib++ and we only had these convolutions because clang didn't...</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I can't find any documentation on that.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">/Eric</span></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 10, 2014 at 12:56 PM, David Chisnall <span dir="ltr"><<a href="mailto:David.Chisnall@cl.cam.ac.uk" target="_blank">David.Chisnall@cl.cam.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10 Nov 2014, at 19:40, Eric Fiselier <<a href="mailto:eric@efcs.ca">eric@efcs.ca</a>> wrote:<br>
<br>
> > The reason we use -nodefaultlibs is to avoid linking the system's libc++. There's a -nostdinc++, maybe there should be a -nostdlib++? Or perhaps -stdlib=none?<br>
</span><span class="">> -nostdlib already exists but it acts like -nodefaultlibs and it drops the startup files as well.<br>
> I would support -stdlib=none but I'm hesitant to start depending on Clang only flags. It would be nice to not have to special case GCC.<br>
><br>
<br>
</span>I thought that gcc already supported -nostdlib++ and we only had these convolutions because clang didn't...<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
<br>
</font></span></blockquote></div><br></div>