在 2025-3-30 20:29, Tom Kacvinsky 写道:
Hi,


I happened to notice that with a GCC 12.1.0 build (a custom build with UCRT
support

before UCRT support was available in baseline MinGW-w64) that
libgcc_s_seh-1.dll

depends on libwinpthread-1.dll.  Compare and contrast with Linux where
libgcc-s.so.1

doesn't depend on libpthread.so.0

Is there a reason for this?  Or is it a superfluous dependency?

I suspect those dependencies are from libgcov and emutls.

[1] https://github.com/gcc-mirror/gcc/blob/e0886d8ad4c51919c349d0b31f2bec3acbc79e14/libgcc/libgcov-interface.c#L41-L80
[2] 
https://github.com/gcc-mirror/gcc/blob/e0886d8ad4c51919c349d0b31f2bec3acbc79e14/libgcc/emutls.c#L73-L79


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to