On 30/04/2021 10:52, dva...@internode.on.net wrote:
> 
> Still dabbling a little with AVR once in a while, I add -nostartfiles to
> Ian's -nostdlib, to avoid startup code.

Aha, yes, that one went astray during my attempt to debug this :)

 As my most recent dabble is
> -mmcu=attiny2313, with only 1k instructions, any extraneous code bytes
> would quickly be noticed.

Indeed so!
> And for libgcc, my makefile remembers better than I, a choice to use
> avr-gcc, not just avr-ld for linking on a project which needed libgcc.
> That residual choice in the attiny2313 project confirms David's reminder
> that stuff is only linked if you use it.

* if its present on the system :)

I've solved it anyhow - see my other post :) Thanks,

-Ian

Reply via email to