On Wed Oct 12 19:28:19 2022 +0000, Chip Davis wrote:
Generating a GNU-like import lib like here, makes it generate
immediate imports for everything, as we pass it `.cross.a` files for all libraries. I have a change to LLD to make it generate delay-load imports for GNU-style import libraries, but it's kind of a mess. If you want, I can show it to you.
I'm not sure it's necessary. I think it's possible to mix GNU-style import libs and MSVC-style import libs, and so maybe MSVC-style would be the way forward for Wine libs. I was only afraid of doing the transition too quickly.
Instead, I think replacing GNU dlltool while keeping its behavior is a good starting point, and will allow us to migrate to MSVC-style later, assuming that it indeed works.