[LLVMdev] Clang binaries for Windows x86-64?

İsmail Dönmez
2014-07-26T07:53:30Z

Hi,


On Sat, Jul 26, 2014 at 3:41 AM, Reid Kleckner <rnk at google.com> wrote:

> 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.
>
> If you want a 64-bit binary for better performance or whatnot, you'll
have
> to build from source for now.
>
>
Thats not gonna work though:

clang version 3.5.0 (213584)
Target: i686-pc-windows-gnu
Thread model: posix

C:\Users\ismail\Desktop>clang -target x86_64-pc-windows-msvc -m64 nic.c
libcmt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'X86'
conflicts with target machi
e type 'x64'
clang.exe: error: linker command failed with exit code 1112 (use -v to see
invocation)

Seems to be libpath is not properly set for 64bit case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20140726/fe961d44/attachment.html>