<div dir="ltr">I have successfully built and installed LLVM and Clang 3.3 on OS X 10.6.8 "Snow Leopard". Then I tried to compile libc++ with my new clang++ but could not figure out the right settings: none of the options listed on the page <a href="http://libcxx.llvm.org/">http://libcxx.llvm.org/</a> work, usually some header is missing. Which is no wonder as these hints are for Linux only.<div>
<br></div><div>I googled until my fingers bled :-) but could find only instructions on how to compile libc++ for OS X 10.7 Lion or 10.8 "Mountain Lion". For the latter it is not even necessary as Apple ships the full LLVM/clang++/libc++ toolchain there with XCode 5.0. However, on 10.6 one gets only XCode 4.2.</div>
<div><br></div><div>I know that the simplest solution would be to upgrade to OS X 10.8 but for certain reasons that would take too long to explain (has to do something with my workplace) I cannot do this. </div><div><br></div>
<div>Could someone please help me by sending me a short description of how to compile libc++ with clang++ V3.3 on Snow Leopard? Private mail would be appreciated.</div><div><br></div><div>Thanks in advance,</div><div>Laryx</div>
<div>laryx dot decidua at gmail + the obvious com suffix</div></div>