This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 43852: new configure option --disable-libstdcxx-verbose
- From: Mike Stump <mikestump at comcast dot net>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 28 Aug 2012 10:29:24 -0700
- Subject: Re: PR 43852: new configure option --disable-libstdcxx-verbose
- References: <CAH6eHdQfwS2nOutZX40emFCz1ekHyKS-w7n4OTBQ3EMXjyvxDQ@mail.gmail.com>
On Aug 27, 2012, at 10:15 AM, Jonathan Wakely wrote:
> Unless anyone has objections I'm going to commit this to trunk,
> implementing Sebastian's idea to disable the verbose terminate handler
> and the "pure virtual function called" message, which write to stderr
> when a process terminates. This allows embedded systems to avoid
> pulling in the demangler and I/O code, reducing the footprint of
> libstdc++.
So, I was thinking about this a little... Native compilers usually want the pretty verbose stuff and can usually pay the price. Cross compilers as a class, are less able to pay the price. Maybe we want to default based merely on target != host? I know in my cross compiler, I think I'd rather turn it off. Not a bug point... but I thought I'd mention it.