开发者

What is the gcc equivalent option for the -qfuncsect option of XL compiler of AIX?

XL Compiler of AIX seems to have the -qfuncsect option which places each function in a seperate object control section with the effect that when the final executab开发者_运维技巧le is created it helps in removing unwanted functions.

Is there an equivalent option for the same in gcc? I am unable to find the same.


-ffunction-sections
-fdata-sections

http://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Optimize-Options.html


See -ffunction-sections

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜