avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] broken code generation


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] broken code generation
Date: Tue, 29 Jan 2019 10:23:03 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

As avr-libc-devel wrote:

> >Seems like a strange compiler build.
> In my opinion, the problem at the link stage: the object file after
> compilation looks OK

Yes, but the linker is driven by the compiler.

> 2.$ avr-gcc blink.o -v -o blink.elf

Your linker call is missing the -mmcu option.

That's why no startup code has been scheduled to link against.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

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



reply via email to

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