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
On 28 August 2012 18:29, Mike Stump wrote:
> 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.
That sounds sensible to me, but I don't have nearly enough experience
of using cross-compilers to make that call. I'd have no problem with
anyone making that change after the patch goes in (assuming it goes
in.)