2011-02-18 03:43 AM
How to prevent linking unused functions (cosmic)
2011-05-17 06:11 AM
Compiler
optimization Conf. Debug (.S19 bytes) Conf. Release (.S19 bytes)Disabe
(-no) 10162 10166Minimize code size
(+compact) 9276 9280Costomize
(+compact +split) 6952 6956 Hi, thank you for replying for I had the same trouble though. Under the Cosmic 32k version I made some benchmark on my application which involves many from ST standard libraries even though I use only few of the functions actually. The bytes saving is considerable with +split option. Why the release configuration takes little more than the debug one? Stefano2011-05-17 06:11 AM
2011-05-17 06:11 AM
>> Why the release configuration takes little more than the debug one?
probably because they are actually the same thing: in the past the debug configuation used to have no optimizations (-no), but since this changed I don't know what's the difference between the two. If you post the two command lines passed to the compiler we can compare.