[LLVMdev] Clang binaries for Windows x86-64?
Reid Kleckner
rnk at google.com
Sun Jul 27 19:15:09 PDT 2014
If you want to link, you also need to put 64bit link.exe on PATH, as well
as the right LIBs.
Sent from phone
On Jul 26, 2014 12:53 AM, "İsmail Dönmez" <ismail at donmez.ws> wrote:
> 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/20140727/1573df5b/attachment.html>
More information about the llvm-dev
mailing list