| Thread overview | |||||
|---|---|---|---|---|---|
|
January 06, 2012 Re: DMD - Windows | ||||
|---|---|---|---|---|
| ||||
2012/1/6 Manu <turkeyman@gmail.com>:
> Okay, so I was trying to link to a C lib, and I realised... DMD doesn't
> support/produce VS compatible libs.
> I should have realised this sooner, noting the cv debuginfo.
>
> So like... WTF?
>
> How am I supposed to use DMD in Windows in anything other than trivial,
> self-contained programs?
> 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.
>
> 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.
>
> So... why no support for COFF libs, and PDB debug info?
> Surely at least a compiler option would do the business if there is some
> kinky attachment to CV and OMF :/
>
> 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.
> ... 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?
There's a COFF 2 OMF tool somewhere on digitalmars.com. Don't know how good it is though, and can't say anything about reverse conversion.
| ||||
January 06, 2012 Re: DMD - Windows | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Mail Mantis | > There's a COFF 2 OMF tool somewhere on digitalmars.com. Don't know how > good it is though, and can't say anything about reverse conversion. There is indeed a coff2omf tool for static libs and here's the funny thing: you have to pay for it :D Like it wasn't enough to torture people with dmc,optlink,cv,omf and other dinosaurs ^^ (but seriously, that toolchain has already made competent people turn their back on D: http://h3.gd/devlog/) A free one is only available for import libraries, it's called coffimplib and pretty hard to find on the site. | |||
January 06, 2012 Re: DMD - Windows | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 2012/1/6 Trass3r <un@known.com>:
> There is indeed a coff2omf tool for static libs and here's the funny thing: you have to pay for it :D
Didn't notice it's from a non-free package.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply