-ffunction-sections always on now?

Benjamin Kosnik bkoz@redhat.com
Mon Oct 1 19:14:00 GMT 2001


Hey stan, check out acinclude.m4

GLIBCPP_CHECK_COMPILER_FEATURES

If gcc can use these flags without barfing, they are turned on. If you 
want to add a bit more intelligence to this, please do (but for ELF, it 
should remain as is...)

-benjamin

> However, this make -ffunction-sections active.  I wouldn't care,
> because I doubt our linker would do the right thing anyway, but
> I noticed that libstdc++-v3 seems to try to build everything with
> -ffunction-sections now, which is undesirable. 


Why is it undesirable?



More information about the Libstdc++ mailing list