NO

Author Topic: compiling to assembly, annotate with source  (Read 2077 times)

hanelyp

  • Guest
compiling to assembly, annotate with source
« on: February 08, 2006, 03:34:16 am »
When compiling to assembly code, including the C source as comments would be great help in manually tracing through the assembly.  perhaps a command line switch on pocc.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 1974
    • http://www.smorgasbordet.com
compiling to assembly, annotate with source
« Reply #1 on: February 08, 2006, 09:10:22 pm »
Maybe. Another approach is to produce a normal OBJ file with the /Zd option, and then use PODUMP -disasm <somename>.OBJ. If <somename>.C can be located by PODUMP, you should see source code mixed with assembly code. This is what I use myself...

Pelle
/Pelle