title: Static link libstdc++ using clang
body: <p>When I use GCC, I can build program on my Ubuntu 15.04 using this:</p>
  
  <pre><code>-static-libgcc -static-libstdc++
  </code></pre>
  
  <p>And compiled binary can run on "stock" Ubuntu 14.04 without any external packages, only standard updates.</p>
  
  <p>Is there possibility do build with this static linking to library with <strong>clang</strong>?</p>
  
  <p>Most common answers:</p>
  
  <ul>
  <li>using test ubuntu rep (<code>ppa:ubuntu-toolchain-r/test</code>)</li>
  <li>update server</li>
  <li>recompile on target server</li>
  <li>don't use GCC</li>
  </ul>
  
  <p>is not suitable for me.</p>
  
  <p>Just can I do this with clang for run it on Ubuntu 14.04.3 LTS?</p>