在 2023/11/10 14:51, sisyphus 写道:
Given that I have, in my path, a mingw-w64 port of version 13.2.0 of gcc.exe, is there a gcc command that I can run to determine whether this gcc uses UCRT ?I thought that running "gcc --version" would do that - and it does for Brecht Sanders builds ... but niXman's UCRT and MSVCRT builds both report the same for "gcc --version". Is there instead something in "gcc -v" that I should be looking for ?
``` echo '#include <stddef.h>' | x86_64-w64-mingw32-gcc -E -dM -xc - | fgrep _UCRT ``` gives `#define _UCRT` if the headers have been configured to use UCRT by default. -- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
