Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 946

Comment by HolyBlackCat on How can I statically link standard library to my C++ program?

$
0
0
With -static-libgcc -static-libstdc++ you still link dynamically against libwinpthread, on MinGW distributions that use it (e.g. MSYS2). Just use -static to statically link everything.

Viewing all articles
Browse latest Browse all 946

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>