Thread overview | |||||
---|---|---|---|---|---|
|
November 28, 2007 How to produce assembly code using DMD ? | ||||
---|---|---|---|---|
| ||||
like GCC does using -s switch regards! |
November 28, 2007 Re: How to produce assembly code using DMD ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to z_axis |
z_axis wrote:
> like GCC does using -s switch
>
> regards!
AFAIK, you can't. Walter sells a tool which will decompile an object file into assembler, though, as part of the extended utilities package.
Failing that, there's always ndisasmw. Just be prepared to sprinkle your code with magic numbers to work out where the hell your functions are ;)
-- Daniel
|
November 28, 2007 Re: How to produce assembly code using DMD ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to z_axis | "z_axis" <z_axis@163.com> wrote in message news:op.t2h38nm91uofcn@sw2wolf... > like GCC does using -s switch > > regards! If you're on linux, DMD comes with another program, dumpbin, which you can do to disassemble an already-compiled object file. |
Copyright © 1999-2021 by the D Language Foundation