MinGW-W64 linker skipping incompatible files when searching for third-party static libraries

后端 未结 2 1279
说谎
说谎 2021-01-12 06:21

I\'m on Windows 7 64-bit, and I\'m compiling with g++ from MinGW-W64.

I\'m trying to compile an application that I wrote on a Unix computer. I\'m running into proble

2条回答
  •  轮回少年
    2021-01-12 06:52

    From the message dumped from objdump.exe, the lib you need to link with is 32-bit, and the *.o files generated from the gcc (x64) is 64-bit, so is incompatible. I think you need to install MinGW 32-bit version.

提交回复
热议问题