This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: -ffunction-sections always on now?
- To: Stan Shebs <shebs at apple dot com>
- Subject: Re: -ffunction-sections always on now?
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Mon, 1 Oct 2001 19:14:47 -0700 (PDT)
- cc: libstdc++ at gcc dot gnu dot org
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?