How to output asm list file with dmd?

SteveGuo steveguo at outlook.com
Tue Aug 6 05:36:07 PDT 2013


> 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.

Thanks, I will have a try:)



More information about the Digitalmars-d mailing list