提问者:小点点

配置:错误:无法识别的选项:-strist-libgcc


我正在尝试编译zbar-0.10以静态链接到MinGW依赖项,因此它不需要libgcc_s_dw2-1. dlllibwinpthread-1.dlllibstdc-6.dll

遵循MinGW. exe的公认答案需要一些gcc dll,而不管代码如何?,我尝试将-strist-strist-libgcc-strist-libstdc添加到我的中。/confiure脚本参数:

./configure -static-libgcc -static-libstdc++ -static -lpthread --without-qt --without-gtk --without-python --without-imagemagick

但是我得到了这个错误:

configure: error: unrecognized option: -static-libgcc

传递给配置脚本的正确参数是什么,以便MinGW依赖项静态链接到ZBar?


共1个答案

匿名用户

选项-sight足以满足您在使用MinGW工具链时想要实现的目标。