On Apr 3, 2006, at 11:39 AM, Vincent Trouilliez wrote:
Here is an archive with my source and makefile...
http://www.007.org.uk/~vtrouilliez/tmp/project.zip
I offer a 2 Euro prize to whoever can figure out a way to get the C/
asm
listing to work properly... ;-)
Vincent, thats originally my Makefile and object.list should already
contain exactly what you are looking for.
#
# This is a fun conversion, creates an assembly dump
# including C source lines interspersed as comments.
#
.elf.list:
avr-objdump -D $< > $@
Change the above to -DS. I've built your sources and verified. Don't
know when the "S" disappeared as its still in my version. Could check
CVS if I wasn't lazy... if I was still employed where I originally
wrote that Makefile (have better employer now.)
% man objdump
...
-S
--source
Display source code intermixed with disassembly,
if possible.
Implies -d.
Speaking of having built your sources, 3.4.6 complains on "gmake
depend":
In file included from ui.h:11,
from menu.h:7,
from main.c:14:
/usr/local/lib/gcc/avr/3.4.6/../../../../avr/include/avr/eeprom.h:
172:3: #error "No write enable bit known for this device's EEPROM."
--
David Kelly N4HHE, [EMAIL PROTECTED]
========================================================================
Whom computers would destroy, they must first drive mad.
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list