This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -ffunction-sections always on now?



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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]