Linking on MS Windows.

Kai Nacke via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 6 05:06:02 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.

If you are already using Visual Studio and LLVM/clang then why 
not use ldc? The compiler itself is built with this toolchain...

Regards,
Kai


More information about the Digitalmars-d-learn mailing list