TDM-GCC w64 script to change windres for 32bit?

时间秒杀一切 提交于 2019-12-01 20:12:54

To see all possble windres parameters, you can request help:

x86_64-w64-mingw32-windres.exe --help

For Windows 32 bit format you need coff format with pe-i386 target.

Basically, you have to add -F pe-i386 (or --target=pe-i386) after -O coff flag to your command line if you generate it manually.

In GNU autotools it's about the RCFLAGS. So if there's some configure script, just add

./configure RCFLAGS="--output-format=coff --target=pe-i386" ........

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!