[cfe-dev] FW: Using C++11 in clang-tools-extra Round 2

Vane, Edwin edwin.vane at intel.com
Mon Jan 7 16:59:17 PST 2013


-----Original Message-----
From: Vane, Edwin 
Sent: Monday, January 07, 2013 3:34 PM
To: 'Nico Weber'
Subject: RE: [cfe-dev] Using C++11 in clang-tools-extra Round 2

Nico wrote:
libstdc++ is not part of tools-extra. But if you want to build C++11
code with clang on linux, you need to use libc++ because clang can't parse libstd++ (the default c++ library) in c++11 mode. And if you use
libc++, users now have to have libc++ to run the tools-extra binaries.

[Edwin] I checked with coworkers here and they have built llvm/clang with c++11 support with libstd++ before. To qualify that, they use configure, specify --enable-cxx11, and build llvm/clang. If libc++ really is necessary that can be an extra requirement. It's easy enough to check out and build oneself.

>
>>
>> --
>> Edwin Vane
>>   Software Developer
>>   Intel of Canada, Inc.
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list