On Monday 23 March 2009 11:38:01 Ruchi Varshney wrote:
> 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"?

You'd be better off asking this question on the avr-gcc list.

You can pass -Wa,-adhlmsn=foo.lst to gcc and it will make a .lst which will do 
what I think you want..

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to