public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43852]  New: Embedded systems friendly libstdc++
@ 2010-04-22 14:24 sebastian dot huber at embedded-brains dot de
  2010-04-22 14:25 ` [Bug c++/43852] " sebastian dot huber at embedded-brains dot de
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: sebastian dot huber at embedded-brains dot de @ 2010-04-22 14:24 UTC (permalink / raw)
  To: gcc-bugs

You can configure the standard C++ library in two ways to reduce the code size
and dependencies on external libraries:

1. --enable-cxx-flags=-fno-exceptions

This does currently not work, due to an error in guard.cc which defines
recursive_init_error::~recursive_init_error() and this results in a dependency
on pure.cc and this one pulls in the IO library.

2. --disable-hosted-libstdcxx

This is also broken currently (try to build it).

Embedded targets may provide a hosted C environment, but in some cases it is
useless to provide output messages.  Also the IO library is quite huge.  Two
files in libstdc++/libsupc++ pull in the IO library: pure.cc and
eh_term_handler.cc (via vterminate.cc).  It would be nice to have a configure
option (like --enable-verbose-cxx) to enable or disable the output generation
in these files.


-- 
           Summary: Embedded systems friendly libstdc++
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sebastian dot huber at embedded-brains dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43852


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-06-24 12:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-22 14:24 [Bug c++/43852] New: Embedded systems friendly libstdc++ sebastian dot huber at embedded-brains dot de
2010-04-22 14:25 ` [Bug c++/43852] " sebastian dot huber at embedded-brains dot de
2010-04-22 14:51 ` [Bug libstdc++/43852] " redi at gcc dot gnu dot org
2010-04-22 17:03 ` paolo dot carlini at oracle dot com
2010-04-23  9:17 ` sebastian dot huber at embedded-brains dot de
2010-04-23  9:20 ` sebastian dot huber at embedded-brains dot de
2010-04-23  9:37 ` redi at gcc dot gnu dot org
2010-06-24  9:41 ` sebastian dot huber at embedded-brains dot de
2010-06-24 10:02 ` paolo dot carlini at oracle dot com
2010-06-24 10:10 ` sebastian dot huber at embedded-brains dot de
2010-06-24 10:19 ` paolo dot carlini at oracle dot com
2010-06-24 12:21 ` redi at gcc dot gnu dot org
2010-06-24 12:49 ` sebastian dot huber at embedded-brains dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).