<div dir="rtl"><div dir="ltr">You can create two Windows configurations, one for clang.exe and one for clang-cl.exe. </div><div dir="ltr">These are actually identical but the if I'm not mistaken the driver behaves differently based on the executable name.</div>

<div dir="ltr">So you have "clang" and "clang-cl" toolsets.</div><div dir="ltr"><br></div><div dir="ltr">Yaron</div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

<div dir="ltr">2014-07-08 18:13 GMT+03:00 Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">On Tue, Jul 8, 2014 at 6:54 AM, Edward Diener <span dir="ltr"><<a href="mailto:eldlistmailingz@tropicsoft.com" target="_blank">eldlistmailingz@tropicsoft.com</a>></span> wrote:<br>


</div><div class=""><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">Since the two versions for clang on Windows, one using VC++ RTL and emulating VC++ to some small extent and the other using mingw rtl, are radically different, is there any easy way to distinguish between them at pre-execution time.<br>



<br>
In Boost Build we currently have a single toolset named 'clang' for the clang compiler. On Linux it uses a clang-linux.jam file, on the Mac it uses a clang-darwin.jam file, and I am trying to establish .jam files for using clang on Windows. Essentially I can use the clang-linux.jam file with a slight modification if the clang version uses mingw, but I need to use a clang-win.jam file if the clang version uses VC++. So somewhere early in the Boost Build processing I have to determine which 'clang.exe' is being used on Windows in order to invoke the proper Boost Build jam file for it.<br>


</blockquote><div><br></div></div><div>It's not really to different clang binaries as far as I know, just the same binary with a different default triple. So you could pass an explicit -target parameter to force one compiler behavior over the other too. (-target i386-pc-win32 for VC mode, -target i386-pc-mingw32 for gcc mode)</div>

<div class="">
<div> </div><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">
<br>
Ideas ? Suggestions ?<br>
<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div><br></div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>