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

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

Re: [avr-gcc-list] .lst output from compiler


From: Rob Ward
Subject: Re: [avr-gcc-list] .lst output from compiler
Date: Wed, 17 Apr 2002 08:30:59 +1200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311

This (in my makefile) generates the required file...

demo.lst : demo.o
    ..\bin\$(OBJDUMP) -S demo.o > demo.lst

Rob Ward

Klaus Rudolph wrote:
Hi. I am wondering how to generate a .lst file (C + assembler) as output 
>from gcc. This is (or would be) very useful as you can see what the C
code is compiling down to. I presume there are some gcc compiler
switches to do this? Anybody have any ideas?

Try

avr-gcc -Wa,-al x.c > x.lst


This works for me.... maybe there is something more than generating
listfiles in, but
i have no gcc manual in this moment here and this should help you for the
first time :-)

Bye
Klaus



-- 
Thanks in advance.

Rob Ward
--
Beaglehole Instruments Ltd.,
32 Salamanca Road,
Kelburn,
Wellington,
New Zealand.
Phone +64 4 473 7749
Fax +64 4 473 2686

address@hidden
www.beaglehole.com

avr-gcc-list at http://avr1.org
reply via email to

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