www.digitalmars.com         C & C++   DMDScript  

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

reply "Ramon" <midiway midi.rs> writes:
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?
Apr 25 2015
parent Rikki Cattermole <alphaglosined gmail.com> writes:
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).
Apr 25 2015