/FA-like switch for dmd? ("generate assembly listing")
houdw
hou.danwu at gmail.com
Mon Mar 24 15:37:34 PDT 2008
Walter Bright 写道:
> Milke Wey wrote:
>> On Mon, 2008-03-24 at 10:04 -0400, Jarrett Billingsley wrote:
>>> "Walter Bright" <newshound1 at digitalmars.com> wrote in message
>>> news:fs7s1t$1ej6$1 at digitalmars.com...
>>>> Josh Dough wrote:
>>>>> I was wondering, are there plans for a switch similar to /FA in
>>>>> cl.exe so we could look at the assembly generated? If D source
>>>>> would also be included in the asm comments, that would be even more
>>>>> awesome.
>>>> obj2asm is used to generate the assembler listings.
>>>>
>>>> http://www.digitalmars.com/ctg/obj2asm.html
>>> I guess it should also be mentioned that you can only get obj2asm as
>>> part of a $15 tools package.
>>>
>>> http://www.digitalmars.com/eup.html
>>>
>>
>> I got my obj2asm from the dmd.zip ;)
>>
>
> That's the linux version of obj2asm. The windows version is in the tools
> package.
Interestingly, these utilities can be found in update package for C/C++
compiler(say dm812util.zip), it's free!
http://ftp.digitalmars.com/Digital_Mars_C++/Patch/
More information about the Digitalmars-d
mailing list