Okay, so I was trying to link to a C lib, and I realised... DMD doesn't support/produce VS compatible libs.<div>I should have realised this sooner, noting the cv debuginfo.</div><div><br></div><div>So like... WTF?</div>
<div><br></div><div>How am I supposed to use DMD in Windows in anything other than trivial, self-contained programs?</div><div>VisualC is the de facto standard in Windows. All libs are COFF, and (unless I'm working with GCC) everything I want to link to is produced from VC.</div>
<div><br></div><div>Let's also mention the debug info... Virtually every 3rd party tool assumes and/or works best with PDB debug info. Being required to run cv2pdb is pretty lame.</div><div><br></div><div>So... why no support for COFF libs, and PDB debug info?</div>
<div>Surely at least a compiler option would do the business if there is some kinky attachment to CV and OMF :/</div><div><br></div><div>I was hoping to start a project using D as a front end language interacting with my C/C++ engine lib... but I can't.</div>
<div>... and now that I think if it... how do ANY programs built with DMD actually work? .. How does it link to system32.lib, user32.lib, etc?</div>