Comparing Atollic with IAR - code size
I am moving a large existing project from IAR to Atollic True Studio for STM32 as an experiment. I got it to build and run without too much pain, but have noticed that the ELF file which is produced is *much* larger - more than twice the size with no optimisation according to the respective map files.
I've been fiddling with various settings and optimisations to little avail. The -flto option is nice, and did result in a significant reduction, but the image is still more than 25% larger than for IAR.
I was a bit surprised by the scale of the difference. The underlying tool chain is arm-atollic-eabi. I've used essentially the same ARM tools in Compiler Explorer, and they seemed very efficient in that context.
Does anyone have experience of this? I am probably missing something. The project is C++ rather than C, and does make significant use of templates and so on. But IAR appears to cope just fine.
Thanks.
