D, windows developement, frustration and fish

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 1 02:54:20 PST 2015


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150201/25c00bcc/attachment.sig>


More information about the Digitalmars-d mailing list