在 2026-1-19 19:45, Markus Muetzel 写道:
Most of these files are headers in the `mingw-w64-headers` directory of the *source tree*. But there is also `sdks/_mingw_ddk.h` from the *build tree*.

`make` should rebuild the object whenever it finds that one of these files changed. Whether it was updated manually (in the source tree) or regenerated (in the build tree) shouldn't make a difference, does it?

My point is that if make starts in the CRT subdirectory before _mingw_ddk.h is created, it may cause compilers to pick up the system header. Worse case is that make starts when _mingw_ddk.h is being created, then the compiler may read an incomplete file.

Maybe it's possible to generate it earlier with configure, by adding it into 
`AC_CONFIG_FILES`.


--
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