Linking objects built with MingW on windows

2025-04-10 Thread ronnie-w via Digitalmars-d-learn
I tried linking an object built with MingW with the command ``` g++ -c libs/webview/webview.cc --std=c++14 -Ilibs/webview2 -DWEBVIEW_STATIC -mwindows -static-libgcc -static-libstdc++ -o webview.o ``` In my source root dir, I tried: ``` dmd app.d .\webview.d .\webview.o advapi32.lib ole32.lib

Re: Linking objects built with MingW on windows

2025-04-12 Thread ronnie-w via Digitalmars-d-learn
On Thursday, 10 April 2025 at 13:44:19 UTC, kinke wrote: MinGW isn't supported by DMD and LDC. If you can't use an MS Visual C++ toolchain to build that webview.obj (and all libs it depends on), you could give GDC a try. This question was actually dumb, dmd and ldc do support MingW: I should h