On 09/08/11 08:01, Sergey A. Borshch wrote:
> On 07.08.2011 14:37, David Brown wrote:
>>
>> If LTO is working, you should consider --gc-sections and related flags
>> as deprecated.
>>
> Until you want to use C++
>

What do you mean by that?  Another of the big benefits of LTO is that it 
works with C++ (and indeed any other language supported by gcc).  With C 
only, you could use "-fcombine -fwhole-program" (which gives smaller and 
better code than --gc-sections, but requires you to compile all the C 
code in one lump).  But "-fcombine" only works for C - LTO works for C++ 
too.



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to