且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Mingw libgcc_s_sjlj-1.dll 丢失

更新时间:2023-08-21 19:45:04

使用mingw的g++编译时必须使用-static-libgcc,以消除对LIBGCC_S_SJLJ-1.DLL的依赖.您可以通过将 static-libgcc 添加到链接器标志来做到这一点.

You have to use -static-libgcc while compiling with mingw’s g++ to eliminate the dependency on LIBGCC_S_SJLJ-1.DLL. You can do that by adding static-libgcc to the linker flags.

我在这篇文章中找到了这个信息:http://www.qtcentre.org/threads/39639-MinGW-w64-dependency-on-LIBGCC_S_SJLJ-1-DLL

I found this info in this post: http://www.qtcentre.org/threads/39639-MinGW-w64-dependency-on-LIBGCC_S_SJLJ-1-DLL