2 Dec
2025
2 Dec
'25
5:33 p.m.
On Fri Nov 28 20:22:18 2025 +0000, Yuxuan Shui wrote:
Alright I will do some experiments with weak symbols on mingw, if that doesn't work out I'll drop gcc ctor/dtor list support for now. There is also a link order issue if we want to support `.CRT` on mingw. `lld` doesn't care about object file orders so it works, but GNU ld does. And `libmsvcrt.a` can't use `__xc_a` etc. from `libwinecrt0.a`. Moving definitions into `crt_init.c` doesn't work because `msvcr*.dll` naturally aren't linked with `libmsvcrt.a`. So I think I need to add a new staticlib specifically for these definitions.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9265#note_124519