2018-04-23 10:14 AM
HI there,
This isn't a question related to ST products, but I'm just curious about something that I started noticing. I am developing my project on Atollic TrueSTUDIO, and when I build the project using the CDT Manged builder, it prints out the size information. I also have a makefile that builds the project as well. I run the makefile under Cygwin and have it print the size information, and the size is different from what was reported by Atollic. I also tried the exact same makefile under MSYS, and the size is also different from both the Cygwin build and the Atollic build. In all cases, the difference in size are just a few bytes.
The project still functions normally (from what I see so far), but I just find weird (and maybe worrisome) that the build sizes are all different.
I was wondering if anyone else has seen this and if they know anything about it? Thanks.
2018-04-23 10:33 AM
Different toolchains (compiler, linker) or different settings, usually.
Probably the latter in your case.
You could compare the effective build commands in both cases.
2018-04-23 12:59 PM
If comparing builds in cygwin and MSYS, I am using the same makefile and some toolchain (arm-atollic-eabi-), so the settings are the same, atleast from a makefile stand-point.
2018-04-24 12:32 AM
Are the sources all the same, including startup code ?
All linked libraries are identical ?