Exceptions workaround for older systems that don't USE_COLLECT2

Jeffrey A Law law@cygnus.com
Tue Sep 8 02:42:00 GMT 1998

  In message < 199809060911.CAA11830@daisy.css.sfu.ca >you write:
  > That's certainly a possible solution and likely the best compromise.
  > The downside is that collect2 would do static constructor/destructor
  > handling when NeXT's ld is happy to handle it.  And, since many C++
  > programs don't use exceptions at all, the overhead of always using
  > collect2's double-link strategy for those common cases seems a little
  > burdensome.
Well, just about any C++ program is going to have some EH code because
you get it via libgcc and libstdc++.


More information about the Gcc mailing list