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

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

Re: [avr-gcc-list] avr-objcopy failed to produce coff/ext-coff


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] avr-objcopy failed to produce coff/ext-coff
Date: Thu, 29 Sep 2005 21:05:53 +0200 (MET DST)

(Please don't post the same message four(!) times!)

kchoo <address@hidden> wrote:

>         I am using winavr to compile a simple c code with the
> compiler option dwarf2 enabled.

> CFLAGS = -ggdwarf-2,

>  but I failed to generate extcoff file.

The COFF converter is incompatible with DWARF-2 input, as the objcopy
code in binutils doesn't contain a DWARF parser.  Thus, you have to
decide whether you want DWARF-2 or COFF debugging information.  In the
latter case, you need to tell the compiler to generate stabs debugging
information (-gstabs), and then convert that to AVR-COFF.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)





reply via email to

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