[llvm-commits] The Clang search path problem in Windows

NAKAMURA Takumi geek4civic at gmail.com
Thu Sep 20 18:38:38 PDT 2012


Welcome, Li!

Clang-related topics would be preferred in cfe-dev, thank you.
(and cfe-commits would be if you had any patches to clang)

2012/9/21 湖西Zero <lifangmu at foxmail.com>
> I'm very like your software, I have to admit that the LLVM has very good technology, but I regret to say that, I do not use LLVM/Clang, my computer system is Windows 7, in my system has various C/C++ compiler to run, including VC++, OpenWATCOM, Borland C++ Compiler 5.5, and GCC 4.7, the search paths are resolved, and helped me to compile the source code, however, I try to use every method to configure LLVM/Clang, can not compile contains STL C++ program. I think, in order to facilitate the developers, it is necessary to change LLVM/Clang settings, for example, provides configuration based on XML configuration file is located in the BIN directory, provide some reasonable rules of grammar. Allow the programmer to understand. I sincerely hope that you can LLVM/Clang do better!

I suppose that clang (targetting msvc) should be aware of %INCLUDE%.
It is set in "Visual Studio Command Prompt", (aka vcvarsall.bat).

That said, we need to work more for clang to live with MS headers and libraries.
See also,

Bug 13707 - [meta] VCPP compatibility issues
http://llvm.org/bugs/show_bug.cgi?id=13707
Bug 12477 - [meta] Support Microsoft C++ ABI
http://llvm.org/bugs/show_bug.cgi?id=12477

Clang's driver configuration is interesting but harder issue, though.

...Takumi




More information about the llvm-commits mailing list