Linking with MSVC built static library
kinke
noone at nowhere.com
Fri Mar 15 14:19:01 UTC 2019
On Friday, 15 March 2019 at 13:32:04 UTC, Mihails wrote:
> Hello, are there any specific requirements for linking with
> MSVC .lib?
Nope, none at all. LDC itself used to be built as a mix of VS
.lib and D code for a while (nowadays we use clang).
> It fails with this linker error:
>
> lld-link: error: unknown file type: x64\Release\wrapper.obj
I guess there's something wrong with your dub config. You can use
`-v` in the dub cmdline to see the LDC command lines.
More information about the digitalmars-d-ldc
mailing list