Cross-compiling via MinGW with wine-binfmt: Cannot determine executable suffix

John Scott jscott at posteo.net
Sat Jul 25 23:30:13 UTC 2020


> ./configure --host=x86_64-w64-mingw32
> make
> make check
> 
> seems to run the tests under wine here...
It still fails if I invoke it like that, but I'm glad you pointed out the 
issue is with the build system compiler. Since ./configure doesn't think it's 
cross-compiling, it needs help to figure out my build system compiler. This 
works:
CC_FOR_BUILD=gcc ./configure --host=x86_64-w64-mingw32

and the tests pass. Thank you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 25055 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-discuss/attachments/20200725/173aae56/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://gmplib.org/list-archives/gmp-discuss/attachments/20200725/173aae56/attachment-0003.bin>


More information about the gmp-discuss mailing list