[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] AVR-GCC compiler options
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] AVR-GCC compiler options |
Date: |
Wed, 25 Mar 2009 06:15:02 +0100 (MET) |
Ruchi Varshney <address@hidden> 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.
No such option. If you enable debugging information, you get line
number information that you can use to track the source code yourself.
That's also what the various disassembly listings are doing (usually
called the .lss file).
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)