在 2025-10-23 22:32, accelerator0099 写道:
About the --target option:
This is for clang only, not the configure script. Clang supports multi-target compiling and the --target is to tell it what code it should produce. It will produce linux code without this option.

Ah sorry for the misinformation. I misread that. I thought for Clang the option would look like `-target x86_64-windows-gnu` but the doc says both.

This issue can be reproduced on godbolt: https://gcc.godbolt.org/z/xcWP6M38r

To work around it, you may try turning on optimization.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to