Linking on MS Windows.

H.Loom via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 5 11:39:22 PDT 2016


On Friday, 5 August 2016 at 18:28:48 UTC, ciechowoj wrote:
> Is default dmd linker (on MS Windows, OPTILINK) supposed to 
> link against static libraries created with Visual Studio?
>
> Specifically I want to link a project compiled on windows with 
> dmd against pre-compiled library `libclang.lib` from LLVM 
> suite. I'm pretty sure they used Visual Studio to compile the 
> library.

No, because DMD win32 produces OMF objects (.lib are archived 
collection of objects) while VS will produce collection of COFF 
in the lib.


More information about the Digitalmars-d-learn mailing list