This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Enable gcc configure option --enable-__cxa_atexit by default
On Tue, 28 Feb 2006, Nick Clifton wrote:
> +# "no" except for Linux and NetBSD targets (which are
> +# assumed to use glibc) and for ELF targets (which are
This isn't accurate. NetBSD targets don't use glibc, they use the NetBSD
C library, which has __cxa_atexit depending on the NetBSD version. Linux
targets may use either glibc or uClibc, both of which have __cxa_atexit
(so the Linux setting of default_use_cxa_atexit needn't go inside the
glibc conditional).
I think the part of this comment listing particular targets would best be
removed; the individual targets have their own explanatory comments above
the individual default_use_cxa_atexit settings.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)