Re: avr-gcc assembler output question

Brian Dean <[email protected]> Sun, 18 Jan 2004 17:38:09 -0500
Newsgroups gmane.comp.hardware.avr.general
Message-ID <[email protected]>
On Sun, Jan 18, 2004 at 02:24:52PM -0800, Dave Hylands wrote:

> Another thing to try is to pass these options on the gcc command line:
> 
> 	-c -g -Wa,-ahdl=listing

Excellent!  That's what I was wanting.  Christopher'sobjdump
suggestion was very useful as well.  Note that if you are using a make
that understands implied targets, you can change the above to:

	-Wa,[email protected]

That will name the list file 'foo.o.lst' in the case of compiling
foo.c to produce foo.o instead of defining a constant name - useful if
you have multiple source file.

Thanks!
-Brian
-- 
Brian Dean, [email protected]
BDMICRO - Maker of the MAVRIC ATmega128 Dev Board
http://www.bdmicro.com/