<br><div class="gmail_quote">On Thu, Jun 7, 2012 at 3:12 PM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">1. Please follow LLVM style guidelines (no tabs, etc.)</div></blockquote><div><br></div><div>Sorry about that</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


2. Please use Support/Path library<br>
<div class="im"><br></div></blockquote><div><br></div><div>Fixed, but there's some code in ToolChains.cpp that handles paths the way I did. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
</div>You should check & use target arch.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>What I have now kinda works. But the problem is that I'm not interested in Clang's default triple, I'm interested if the OS is 32bit or 64bit. So if I have a 32bit Clang running on my Windows x64 and I'm targeting x64, it will use a cross tools which is wrong! How can I detect this?</div>

</div>