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

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

Re: [avr-gcc-list] WinAVR, file XXX not found in symbol table,


From: Preben Mikael Bohn
Subject: Re: [avr-gcc-list] WinAVR, file XXX not found in symbol table, ignoring...
Date: Wed, 9 Feb 2005 17:39:40 +0100 (CET)
User-agent: SquirrelMail/1.4.3a

> Wait! Stop there!

All right... :-)

> You need to think about how you're going to debug. If you're are going
> to use the latest AVR Studio (4.11) then you need to use:
> - ELF file format
> - DWARF2 debugging information.

OK, so my current compilation lines are:
Assembling: test.S
avr-gcc -c -mmcu=atmega32 -I. -x assembler-with-cpp
-Wa,-adhlns=test.lst,-gdwarf2 test.S -o test.o

Linking: test.elf
avr-gcc -mmcu=atmega32 -I. -gstabs   -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes
-Wa,-adhlns=test.o  -std=gnu99 -Wp,-M,-MP,-MT,test.o,-MF,.dep/test.elf.d 
test.o  --output test.elf -Wl,-Map=test.map,--cref    -lm

But when I try to load the elf file in AVR studio (I guess this is the
file to use?) I still get: "Coordinator The object file does not contain
source code information." and the disassembled version is shown insted of
the source...

In any case I have just started porting my code to Atmel's format and it
is really not that hard... :-)

Best regards Preben


reply via email to

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