[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] invalid bfd target linker error
From: |
Marc R. Wetzel |
Subject: |
RE: [avr-gcc-list] invalid bfd target linker error |
Date: |
Sat, 20 Apr 2002 20:17:25 +0200 |
Hi Sander,
as far as I know, the elfcoff was not part of the original
avrfreaks distribution. It is distributed by Flavio...
Greetings
/Marc
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Behalf Of Sander Pool
> Sent: Saturday, April 20, 2002 7:57 PM
> To: address@hidden; address@hidden
> Subject: RE: [avr-gcc-list] invalid bfd target linker error
>
>
>
> Thanks Marc, that did the trick. The next error was resolved by copying
> elfcoff from the avrfreaks distribution to avrgcc128/bin. I then
> got another
> error that was resolved by commenting out the line
>
> # $(CP) $(OUT)\\*S .
>
> Somehow the coff/*.S files don't get generated so that statement was
> failing. I presume I can't debug now but that's OK.
>
> Thanks,
>
> Sander
>
> > -----Original Message-----
> > From: Marc R. Wetzel [mailto:address@hidden
> > Sent: Saturday, April 20, 2002 2:22 AM
> > To: Sander Pool
> > Subject: RE: [avr-gcc-list] invalid bfd target linker error
> >
> >
> >
> > Change your makefiles or "makerules" to the following
> >
> > %obj: %elf
> > $(BIN) -O elf32-avr $< $@
> > # $(BIN) -O avrobj $< $@
> >
> >
> > Was the entry renamed ? Don't know. But looking at the objcopy
> > man pages...
> >
> >
> > Greetings
> >
> > /Marc
> >
> >
> > >
> > > Folks,
> > >
> > > I tried recompiling one of my little test programs with the new win32
> > > distribution that Marc kindly put together. Things seem to
> > > compile fine but
> > > then I get the following linker error:
> > >
> > > avr-objcopy: accell_test.obj: Invalid bfd target
> > >
> > > What does this error mean and how do I go about debugging it?
> > > When I use the
> > > avrfreaks distribution this code compiles fine.
> > >
> > > Thanks!
> > >
> > > Sander
> > >
> > > avr-gcc-list at http://avr1.org
> > >
> >
> >
>
> avr-gcc-list at http://avr1.org
>
avr-gcc-list at http://avr1.org