On 29/04/2021 21:43, Ian Molton wrote:
> Hi,
>
> I'm attempting to build my project, which does not use libc, or libm,
> but I do want to link with libgcc.
>
> additionally, I don't want any startup code to be linked - the project
> is intended to be fully standalone.
>
If you don't use any
On 30.04.21 10:03, David Brown wrote:
> On 29/04/2021 21:43, Ian Molton wrote:
> > Hi,
> >
> > I'm attempting to build my project, which does not use libc, or
libm,
> > but I do want to link with libgcc.
> >
> > additionally, I don't want any startup code to be linked - the
project
> > is
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
On 30/04/2021 09:03, David Brown wrote:
> On 29/04/2021 21:43, Ian Molton wrote:
>> Hi,
>>
>> I'm attempting to build my project, which does not use libc, or libm,
>> but I do want to link with libgcc.
>>
>> additionally, I don't want any startup code to be linked - the project
>> is intended to
Has been a long time for me but Once Upon A Time it wasn’t just a matter of
“not using functions in the library”. AVR-gcc required primatives other than
startup code. It couldn’t do most operations on longs in-line, called library
functions with names outside of usual C-space. I remember being