µTasker Forum
µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: akorud on October 06, 2008, 04:09:33 PM
-
Hi,
do anybody have some experience in using GCC 4.2 vs CW 6.3 - I mean code size, compilation quality (CW 6.3 has some optimizer errors), etc? For example I've found that CW 7.0 produce larger code than 6.3.
I consider which one will be better for "release" firmware builds.
best regards,
--
Andriy
-
Also try CW7.1. This produces much more compact code than 7.0 does!
-
If anybody is interested, for my application GCC 4.2 generates code 102k, CW6.3 - 108k, CW7.1 - 98k.
regards,
--
Andriy
-
Hi Andriy
Thanks - this is a good reference. It is interesting that CW is getting more efficient but GCC also produces good code.
Regards
Mark
-
BTW, adding -fomit-frame-pointer gcc option reduces code size by ~1k (for my project) without visible side-effects.