Compiling on windows

Adam D. Ruppe destructionator at gmail.com
Sun Jun 7 01:48:46 UTC 2026


On Saturday, 6 June 2026 at 05:18:56 UTC, frustrated wrote:
> I’ve been experimenting with LDC2 on Windows for a while, and 
> one practical issue I keep running into is the outdated MinGW 
> runtime it ships with.
>
> For comparison, I’m using a modern MinGW toolchain (e.g. from 
> mstorsjo’s clang builds)

I see that uses .a files and we want .lib files.... the .libs 
that come with ldc (and opend) come from here:

https://github.com/ldc-developers/mingw-w64-libs/

and there's an update script that hasn't been run for ages......  
last update 2018?! golly i just tried running it again against 
the newest mingw-64 release and it needed some minor fixes but i 
think i got it done.

Any chance you could send me a smallish (i'll prolly have to port 
it to D unless you do that too) test program that uses some of 
the newer apis so i can try to build it with my opend-dev? the 
script ran successfully just now but that doesn't mean it 
generated actually usable output.


More information about the Digitalmars-d mailing list