How to output asm list file with dmd?
Adam D. Ruppe
destructionator at gmail.com
Tue Aug 6 05:26:38 PDT 2013
On Tuesday, 6 August 2013 at 09:32:39 UTC, SteveGuo wrote:
> I want to make a compare among vc, icc, gcc, dmd, but how can I
> output list file with dmd?
After compiling it, disassemble the object file with obj2asm
(comes with dmd for linux, separate download for dmd on
windows... actually part of the $15 extended utility package from
digital mars, blargh), or some other disassembler like objdump on
linux.
dmd itself never generates assembly, it outputs machine code
directly so you'll need a separate disassembler of some sort.
More information about the Digitalmars-d
mailing list