[cfe-dev] how to build llvm 3.4 to use system libc++ on darwin13?

Jack Howarth howarth at bromo.med.uc.edu
Mon Nov 18 17:55:38 PST 2013


    Currently on darwin12 and earlier, the cmake buld of llvm/compiler-rt/clang defaults
to use the system libstdc++ c++ headers for the clang++ compiler. Is it possible to
build llvm 3.4 on darwin13 so that the default behavior is to use -stdlib=libc++ and
to use the same libc++ c++ headers that the sytem clang++ compiler from Xcode uses?
Thanks in advance for any advice on this issue.
         Jack



More information about the cfe-dev mailing list