Am 16.05.2012 19:14, schrieb Grant Edwards:
> On 2012-05-16, Stefan N?rnberger <s...@zelle79.org> wrote:
> 
>> If it is purely about code size you should definitely compile
>> without the debugging symbols (drop the -g switch). This should
>> reduce the size of the binary dramatically.
> 
> If that's true, it's a compiler bug isn't it?.  Enabling debug
> symbols should not affect the generated code or the size of the
> resulting text segment. Enabling debug symbols with certain types
> of optimization doesn't always produce usable results (in terms of
> setting breakpoints on particular source lines, single-stepping,
> etc.), but it shouldn't produce a larger code size.
> 

Yes, I'm sorry, that was some error on my side. I just checked again
and size of the text segment does not increase with the -g switch.
Sorry for the noise.

Stefan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to