The 2 ways of building for Windows
2014-03-18 00:00
525 查看
Q:
>From what I've read, you can build/use LLVM+clang via Visual Studio or via MinGW. So far, I've only managed to have my code working via MinGW. However, most of my users compile using Visual Studio. Can LLVM that was compiled using MinGW (or using the pre-built MinGW binary) be linked against using Visual Studio (or, more specifically, using Visual Studio's "cl" compiler and "link" linker)? In my first attempt, I get an error message like: libLLVMX86CodeGen.a(X86TargetMachine.o) : fatal error LNK1143: invalid or corrupt file: no symbol for COMDAT section 0x6E ________________________________________________________________________________
A:
No. MinGW's g++ and Visual Studio's cl use different C++ ABIs.
转自:http://comments.gmane.org/gmane.comp.compilers.llvm.devel/50191
相关文章推荐
- [Windows Azure] Building worker role A (email scheduler) for the Windows Azure Email Service application - 4 of 5.
- [Windows Azure] Building worker role B (email sender) for the Windows Azure Email Service application - 5 of 5.
- The Windows SDK team is proud to announce that the RTM release of the Microsoft Windows SDK for Windows Server 2008 and .NET Fra
- 【redis启动失败】he Windows version of Redis allocates a memory mapped heap for sharing with the forked pr
- Images of Ireland Desktop Theme for Windows XP
- 【NDN IoT】Building an On-ramp for the Internet of Things 全文翻译
- Installing Windows Identity Foundation on Windows 8 - The Certificate for the signer of the message is invalid or not found.
- Windows下使用BeautifulSoup 出现You are trying to run the Python 2 version of Beautiful Soup under Python
- Application windows are expected to have a root view controller at the end of application launch解决方法
- How to set the width of columns?about chart control for .net
- The origin of "Hungarian" notation for naming variables
- Research on Computer Aided Design Method for the particles distribution of Table-tennis racket
- State of the "Art": A Taxonomy of Artistic Stylization Techniques for Images and Video(三)
- Data format for the interchange of fingerprint
- (翻译)Tricks of the windows game programming Gurus(Windows游戏大师之路) --- 第三章(作者:ANDRE LAMOTHE 1999)
- change backgroud color of the windows in ubuntu
- the name or security ID(SID) of the domain specified is inconsistent with the trust information for that domain
- Oracle AWR 报告中 No data exists for this section of the report 说明
- 4.13 Utilizing the UITableViewController for Easy Creation of Table Views
- Q9.11 count the number of ways of parenthesizing the expression