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]
Other format: [Raw text]

PR 43852: new configure option --disable-libstdcxx-verbose


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++.

2012-08-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
            Jonathan Wakely  <jwakely.gcc@gmail.com>

        * acinclude.m4 (GLIBCXX_ENABLE_VERBOSE): Define.
        * configure.ac (GLIBCXX_ENABLE_VERBOSE): Use it.
        * config.h.in: Regenerate.
        * configure: Likewise.
        * libsupc++/eh_term_handler.cc (_GLIBCXX_VERBOSE): Check new macro.
        * libsupc++/pure.cc (_GLIBCXX_VERBOSE): Likewise.
        * doc/xml/manual/configure.xml (--disable-libstdcxx-verbose): Document.
        * doc/html/manual/configure.html: Regenerate.

Tested on x86_64-linux.

Attachment: patch.txt
Description: Text document


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