Hi,
I am using a Samsung chip with cortex-M3 core,when i Build the code using 4.22a version of keil the code size is aroung 498KB at optimization level 1.The same code when i build using 4.23 version with same optimization level is coming around 473Kb.Does anyone can help me telling why this difference is happening.
Thanks in advance,
Regards, Ramanarayanan
My problem was because the compiler version is same only Keil version was differend,so as per my understanding same compiler version should give same code at same optimization level.May be as Mr.Per Westermark said the default flag would have been changed,Anyways thanks for the reply.
What do you mean by that??
"Keil" is just the name of the company - it doesn't have a version!
What specific product and/or component version(s) are you talking about?
Remember that your total executable size includes libraries - so maybe the libraries have changed...?
My problem was because the compiler version is same only Keil version was differend,so as per my understanding same compiler version should give same code at same optimization level. the linker does some optimization as well e.g. combining function tails from different modules.
Erik