title: How to statically link libstdc++
body: <p>I am trying to get my program working in another machine where libstdc++ versions is different. I am developing and compiling it on netbeans. I have specified the option -static-libstdc++ but the program continues trying to load libstdc++.so.6 in the local machine. </p>
  
  <p>How can I get a fully static libstdc++ link?</p>
  
  <p>Thanks.</p>