debugger

Seb seb at wilzba.ch
Sat Apr 27 13:33:25 UTC 2019


On Saturday, 27 April 2019 at 04:19:16 UTC, Manu wrote:
> On Thu, Apr 25, 2019 at 6:51 PM Doc Andrew via Digitalmars-d 
> <digitalmars-d at puremagic.com> wrote:
>>
>> On Thursday, 25 April 2019 at 13:52:22 UTC, Martin Krejcirik 
>> wrote:
>> > On Monday, 22 April 2019 at 17:26:27 UTC, Manu wrote:
>> >> That's very old tech, modern D compilers (last 5 years) emit
>> >> PDB directly.
>> >
>> > It is still needed to create a .pdb file. Or am I missing 
>> > something ?
>>
>> I think dmd will only emit the .pdb if compiling 64-bit code, 
>> because it doesn't use OPTLINK in that case.
>
> DMD has 32bit and 64bit COFF output (`-m32coff` and `-m64`), 
> but neither is default. For some reason it still defaults to 
> output 32bit OMF output fit for the 1960's, despite my best 
> efforts to convince to change the default to something sensible 
> for years.

With 2.086, dub will behave sensible and default to COFF. My plan 
is to push the same for the next release.


More information about the Digitalmars-d mailing list