From 354b7da5e35d8b4266e484d514045a7dc1f624fb Mon Sep 17 00:00:00 2001 From: Dara Hazeghi Date: Sat, 31 Jan 2004 04:18:15 +0000 Subject: re PR bootstrap/9249 (bootstrap fails with --enable-__cxa-atexit on Solaris) 2004-01-30 Dara Hazeghi PR bootstrap/9249 * doc/install.texi: document --enable-__cxa_atexit option. * configure.ac: Disable __cxa_atexit if not supported. * configure: Regenerate. From-SVN: r77023 --- gcc/doc/install.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/doc/install.texi') diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 6dae9c9..1f53a99 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -939,6 +939,14 @@ option will adjust the ABI for AltiVec enhancements, as well as generate AltiVec code when appropriate. This option is only available for PowerPC systems. +@item --enable-__cxa_atexit +Define if you want to use __cxa_atexit, rather than atexit, to +register C++ destructors for local statics and global objects. +This is essential for fully standards-compliant handling of +destructors, but requires __cxa_atexit in libc. This option is currently +only available on sytems with GNU libc. When enabled, this will cause +@option{-fuse-cxa-exit} to be passed by default. + @item --enable-target-optspace Specify that target libraries should be optimized for code space instead of code speed. -- cgit v1.1