title: How to compile/link Boost with clang++/libc++?
body: <p>The answer to this question <a href="https://stackoverflow.com/q/8454329/331024">Why can&#39;t clang with libc++ in c++0x mode link this boost::program_options example?</a> states "You need to rebuild boost using clang++ -stdlib=libc++."</p>
  
  <p>I'm using MacOS Lion with clang v3.0. How do I build Boost v1.48.0 using clang and link it with libc++?</p>
  
  <p>Update: I've created a <em>user-config.jam</em> file with the following:</p>
  
  <pre><code>using clang-darwin
  </code></pre>
  
  <p>...which will build Boost with clang instead of gcc. How do I link with libc++ instead of libstdc++?</p>