To add this flag in Eclipse, go to Project->Properties. Under “C++ Build”, select “Settings”. Under “MinGW C++ Linker”, select “Miscellaneous”. Add “-static-libgcc” to the “Linker flags” field. You may have to do this for your other build configurations and projects.
参考:
http://www.eclipse.org/forums/index.php/mv/tree/156519/
0 条评论。