title: How can i link my c++ program statically with libstdc++ on osx using clang?
body: <p>i'm writting c++ program and i want to distribute it on Mac OS X versions 10.6 and above. The problem is when i compile the program with clang and it's dynamically linked with libstdc++ and it causes problems with older systems. </p>
  
  <p>There is a key <code>-static-stdc++</code> in gcc but there's no one in clang. How can i link my program statically with clang?</p>
  
  <p>My main goal is to compile binary on Mac OS X 10.9 and be able to run it on earlier versions. Maybe there's a different way?</p>
  
  <p>Thank you.</p>