
9 Apr
2008
9 Apr
'08
9:35 p.m.
Avinash Vijayvergia wrote:
Hi All
I had a question which is trivial but I couldn't find an answer to it. Can anyone tell me how do I generate a list file from gcc compiler or even preferred is listing with the interspersed C code.
Thanks Avinash
If I understand your question, I think you are asking for a disassembly output: objdump -d or, better, a disassembly interspersed with source: objdump -S
http://www.delorie.com/gnu/docs/binutils/binutils_6.html
Best regards, gvb