Pelles C forum

Pelles C => Feature requests => Topic started by: hanelyp on February 08, 2006, 03:34:16 AM

Title: compiling to assembly, annotate with source
Post by: hanelyp 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.
Title: compiling to assembly, annotate with source
Post by: Pelle 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