[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    [cfe-dev] Clang on Windows targeting mingw-64/gcc building 64bit code
From:       Edward Diener via cfe-dev <cfe-dev () lists ! llvm ! org>
Date:       2015-08-20 14:53:31
Message-ID: 55D5E9EB.5090508 () tropicsoft ! com
[Download RAW message or body]

When I build clang on Windows targeting mingw(-64)/gcc using CMake, is 
the clang++.exe capable of building 64-bit binaries, or do I need to 
specify anything in the CMake parameters for this ?

My assumption is that the clang++.exe built supports both 32-bit and 
64-bit code. However after building, and then setting the PATH so that 
both the clang bin directory and the mingw-64/gcc 5.1 64 bit 
implementation's bin directory are added, when I execute:

clang++ --version I get from Windows:

"The program can't start because libgcc_s_dw2-1.dll is missing from your 
computer."

The particular DLL libgcc_s_dw2-1.dll is present in the mingw-64/gcc 5.1 
32 bit implementation. Am I supposed to be using the 32 bit 
implementation of mingw-64/gcc even when building a 64-bit binary ?

_______________________________________________
cfe-dev mailing list
cfe-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic