Re: Problem linking *without* avr-libc, libm, etc. (SOLVED)

2021-06-22 Thread Ian Molton
On 01/05/2021 01:11, David Kelly wrote: > 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 still does - not just on AVR - also on ARM and others. It was quite amusing when

Re: Problem linking *without* avr-libc, libm, etc. (SOLVED)

2021-04-30 Thread David Kelly
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 c

Re: Problem linking *without* avr-libc, libm, etc. (SOLVED)

2021-04-30 Thread Ian Molton
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 be