Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Elf to Coff overwrites C file

2004-04-25 by Volkmar Dierkes

On Wed, 21 Apr 2004 03:55:22 -0700 (PDT), Shibu Krishnan wrote:

> when iam converting my .elf file to coff using elfcoff command, the original .c file is becoming blank, if i am using the same folder as destination path. can u suggest the remedy for this problem.
>
> the command i used is
>   avr-gcc -g -mmcu=at90s8515 -c demo.c
>   avr-gcc -g -mmcu=at90s8515 -o demo.elf demo.o
>  elfcoff demo.elf  .\ demo.cof

Which version do you use? Since some time avr-objcopy supports cof 
(and ext-cof) format by itself, so you don't need elfcoff.

Volkmar

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.