2015-02-23 10:17 GMT+01:00 Vadim Chugunov <[email protected]>:
> Hi,
> Is link-time dead code elimination via --function-sections +
> -Wl,--gc-sections known to work on mingw?

No, gcc provides this option, but binutils doesn't support this
feature.  There was - some time back - a patch send by me for adding
this feature, but I stopped working on it as it seems to open a can of
worms.
So, there are better ways to have link-time-optimizations nowadays.
Simply play a bit with LTO (-flto) and related options.  You should
get much better results then by -function-sections (& co).

Regards,
Kai

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to