linking a .lib compiled with Digital Mars C compiler with DMD linker

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 25 22:21:20 PDT 2015


On 26/04/2015 5:08 p.m., Ramon wrote:
> Given a C source code that gives me a .lib static library compiled with
> the Digital Mars C compiler, can I link this .lib to my final .exe using
> DMD linker?
>
> that is, is Digital Mars C .lib compatible with DMD linker?

You mean optlink linker? They should be the same linker binary.
Keep in mind I'm only thinking of 32bit on Windows (OMF).


More information about the Digitalmars-d mailing list