[LLVMdev] Using C++'11 language features in LLVM itself

Justin Holewinski justin.holewinski at gmail.com
Thu Jan 10 14:57:15 PST 2013


On Thu, Jan 10, 2013 at 5:46 PM, Daniels, Marcus G <mdaniels at lanl.gov>wrote:

>
>
> >> Bah, they can install Mingw binaries.
>
> > Sure! Actually, I wonder why people care about Visual Studio at all.
>
> Basic MSVC linkage should work with Mingw.  Anything that doesn't work is
> probably something that ultimately needs to be understood on the clang/llvm
> side for the sake of clean integration.  IMO, a compatible & mature open
> source Windows toolchain like Mingw that mostly works is a better apparatus
> for understanding and fixing real technical integration problems (in LLVM
> and clang) than a proprietary compiler.
>

At the C level, yes.  At the C++ level, not really.


>
> Anyway, I thought the question here amounted to how to ensure that people
> can make binaries of LLVM libraries and a working clang executable on
> Windows.  Mingw can do that.  Or some enterprising person can just
> distribute a binary distribution like has been done for years with Mingw.
>

The problem is that LLVM is a C++ library.  You cannot build it with MinGW
and then consume the libraries with MSVC.  If you want (need?) to compile
your application with MSVC, then you have to build LLVM with MSVC too.


>
> Whether LLVM and clang can perfectly target Windows is a separate issue
> that making LLVM & clang source code friendly to Visual Studio can't really
> help with anyway.
>
> Marcus
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 

Thanks,

Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130110/1dbb080d/attachment.html>


More information about the llvm-dev mailing list