avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] AVR-GCC compiler options


From: Weddington, Eric
Subject: RE: [avr-gcc-list] AVR-GCC compiler options
Date: Tue, 24 Mar 2009 10:09:24 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Ruchi Varshney
> Sent: Monday, March 23, 2009 7:32 AM
> To: address@hidden
> Subject: [avr-gcc-list] AVR-GCC compiler options
> 
> Hi,
> I am looking for a way to intermix source code with the asm 
> code generated when I compile a .c file "avr-gcc -S" option.
> Right now, I know that when I use "avr-objdump -S" on the .s 
> file obtained from avr-gcc, I can see that the output is 
> intermixes with the actual source code from the .c file. Is 
> there a way I can get the source code to appear in the .s 
> file when I use "avr-gcc"?

Try: -fverbose-asm

I can't remember whether that puts the corresponding C statements (as comments) 
interleaved with the assembly output, but I think it does.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]