On Sun, 01 Feb 2015 10:41:04 +0000, Vladimir Panteleev wrote: > On Sunday, 1 February 2015 at 10:33:51 UTC, ketmar wrote: >> i wonder how mingw linker is able to use .dlls without corresponding >> .lib files to link windows executables. maybe it's a weird art of >> forbidden black magic or something... > > What are you talking about? See WinGW\lib\libuser32.a for example.
i'm talking about the case where i was in need of "urlmon.dll", and there was no import library for it in my mingw. than i simply add that to options: "-Wl,--enable-auto-import -Wl,--enable-stdcall-fixup" and placed "urlmon.dll" in my build directory. and voila! no stupid import libraries, no other mess -- mingw "ld" happily used that dll to resolve imports. simple and easy. > However, curiously, D is actually often criticized as being too > Windows-biased. actually, D support for GNU/Linux is far better than windows one. to the extent that D is unisable on windows without heavy googling and puzzle solving. not that i really care about windows, but there is no way to gain popularity with the current state of the things. alas.
signature.asc
Description: PGP signature