<p dir="ltr">If you want to link, you also need to put 64bit link.exe on PATH, as well as the right LIBs.</p>
<p dir="ltr">Sent from phone</p>
<div class="gmail_quote">On Jul 26, 2014 12:53 AM, "İsmail Dönmez" <<a href="mailto:ismail@donmez.ws">ismail@donmez.ws</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 26, 2014 at 3:41 AM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@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">I believe we only have 32-bit binaries, but they can produce 64-bit code if that's what you're looking for. You simply pass the -m64 flag.<div>
<br></div><div>If you want a 64-bit binary for better performance or whatnot, you'll have to build from source for now.</div>
</div><div class="gmail_extra"><br></div></blockquote><div><br></div><div>Thats not gonna work though:</div><div><br></div><div><div>clang version 3.5.0 (213584)</div><div>Target: i686-pc-windows-gnu</div><div>Thread model: posix</div>
</div><div><br></div><div>C:\Users\ismail\Desktop>clang -target x86_64-pc-windows-msvc -m64 nic.c</div><div>libcmt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machi</div>
<div>e type 'x64'</div><div>clang.exe: error: linker command failed with exit code 1112 (use -v to see invocation)</div><div><br></div><div>Seems to be libpath is not properly set for 64bit case.</div><div><br></div>
<div><br></div></div></div></div>
</blockquote></div>