I think that Clang records the exact version of Visual Studio it was compiled with, so there should be only one "right" linker?<br><br><div class="gmail_quote">On Thu, Jun 7, 2012 at 2:32 PM, Kim Gräsman <span dir="ltr"><<a href="mailto:kim.grasman@gmail.com" target="_blank">kim.grasman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nikola,<br>
<div><div class="h5"><br>
On Thu, Jun 7, 2012 at 2:29 PM, Nikola Smiljanic <<a href="mailto:popizdeh@gmail.com">popizdeh@gmail.com</a>> wrote:<br>
> I forgot to handle the 64bit tool chain, hope this is the right approach.<br>
><br>
> I'm also not sure what to do with the cross tools? Maybe a check if we're on<br>
> a 32bit platform but targeting a 64bit one?<br>
<br>
</div></div>Thanks for the effort!<br>
<br>
Maybe that's part of why it was cleaner to fall back on the<br>
environment having the "right" linker in the path?<br>
<br>
I have three versions of Visual Studio installed side-by-side, and<br>
usually run their respective environment setup script (vsvars32.bat)<br>
to wire up a shell with the right toolchain. That could be considered<br>
a feature of the current approach...<br>
<span class="HOEnZb"><font color="#888888"><br>
- Kim<br>
</font></span></blockquote></div><br>