[fpc-devel] AVR target on trunk does not compile for me

Florian Klämpfl florian at freepascal.org
Mon Jun 3 21:40:05 CEST 2019


Am 03.06.2019 um 19:01 schrieb Christo Crause:
> 
> On Mon, Jun 3, 2019 at 12:00 PM Michael Ring <mail at michael-ring.org <mailto:mail at michael-ring.org>> wrote:
> 
>     Last question: Is avr6 the only subarch that has enough memory for enabling strings? I am a Noob when it comes to
>     avr, but I guess there should be more subarchs that have more memory, I today saw some ATTINY Chips with 32kB of
>     Flash....
> 
>     Michael
> 
> 
> One could enable extra string functionality (at least ansistring) for avr5 and avr51. It doesn't add to the final
> compiled size if one doesn't use the functionality.  It does pull in a substantial amount of code once you start using
> it (2 - 4 KB in a very simple test, depends of course on the number of different types of string conversions).

Ansistrings require exceptions and their init code pulls in some significant amount of code ...



More information about the fpc-devel mailing list