On 09.08.2011 10:12, David Brown wrote:
> 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.
Sorry, you are right. I jumble LTO and "-fcombine" which works with C only.

-- 
Regards,
   Sergey A. Borshch            mailto: [email protected]
     SB ELDI ltd. Riga, Latvia

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
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