[cfe-dev] Building the LibC++ libraries

Martin J. O'Riordan via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 1 08:17:41 PST 2016


We currently build the LibC++ libraries with an alternative build system,
mainly because historically it was not possible to build the library for a
cross-compiler.  That of course is getting better with the wholesale move
over to CMake.

 

At the moment we build the library with '-std=c++11'.   This seems to
produce a library that is valid for linking with programs compiled for C++98
and C++11, and very few people seem to be compiling their code with C++14.
We have no had reports of problems.

 

But should I really be building 3 versions of the library, one each for
C++98, 11 and 14?  Or will a C++14 built library be link compatible for all
the earlier dialects?

 

Thanks,

 

            MartinO

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160201/b6170423/attachment.html>


More information about the cfe-dev mailing list