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, igno


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

> Joerg Wunsch wrote:
> IIRC, the OP's output showed the assembler step with -gstabs and the C
> compiler had -gdwarf-2. (I don't have the output handy at the moment to
> verify.) Perhaps this is the problem?

I tried -gdwarf-2, but of course this gave an error because:

> This is also complicated by the fact that GCC wants "-gdwarf-2" and gas
> wants "-gdwarf2" (minus the hyphen). So some hand-editing of the
> makefile I think would be necessary.

OK, done... :-)


> But I still don't know if changing that would be sufficient to solve the
> problem. It would be nice if somebody could experiment and find out if
> this is all that is needed to fix this.

I get the following output now:

> "make.exe" extcoff

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. -gdwarf-2   -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

Converting to AVR Extended COFF: test.cof
avr-objcopy --debugging --change-section-address .data-0x800000
--change-section-address .bss-0x800000 --change-section-address
.noinit-0x800000 --change-section-address .eeprom-0x810000  -O
coff-ext-avr test.elf test.cof
avr-objcopy: test.elf: no recognized debugging information

Best regards Preben


reply via email to

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