<div dir="ltr">For libc++'s test suite I think I'll just check for `redhat-linux` and `suse-linux` and append the `-gnu` manually.<div>I imagine this is not correct in all cases, but it seems like the best solution for the test suite. </div><div><br></div><div>Another approach may be to probe for glibc but that would be more complex.</div><div><br></div><div>/Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 1:27 AM, İsmail Dönmez <span dir="ltr"><<a href="mailto:ismail@donmez.ws" target="_blank">ismail@donmez.ws</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Oct 27, 2014 at 9:22 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">The triple specified is 'x86_64-suse-linux'... If you're using glibc, then it seems reasonable to use 'linux-gnu' as the last component of the triple? It seems a real shame to add a vendor here just to catch the case that your system uses glibc but deviates from every other linux triple using glibc in this way.... =[</div></blockquote><div><br></div></span><div>This matches the gcc's default target hence its like that for a long time :/ Btw. I just checked and Centos/RHEL uses x86_64-redhat-linux so we are not alone in this.</div><div><br></div></div></div></div>
</blockquote></div><br></div>