在 2025-10-31 04:46, Peter0x44 via Mingw-w64-public 写道:
On 2025-10-30 21:42, Bob Tennent wrote:I have the mingw-w64 package installed. I've run configure --host=x86_64-w64-mingw32 apparently successfully. But subsequent make is not successful. The last error messages are/usr/bin/x86_64-w64-mingw32-ld: /usr/include/x86_64-linux-gnu/bits/stdio2.h:86:(.text.startup+0x51b):Well, files getting pulled in from /usr/include/x86_64-linux-gnu is not correct.
Is there something like this in config.log? checking for x86_64-w64-mingw32-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.outIf a cross compiler for is not installed, _configure_ can actually go on with the native compiler, which is not a correct setup.
And, it's recommended to pass both `--build=x86_64-linux-gnu` and `--host=x86_64-w64-mingw32`. If `--build` is not passed and wine-binfmt is installed, it can be misdetected as a native setup.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
