Hi, http://gcc.gnu.org/install/configure.html mentions: --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 systems with GNU libc. When enabled, this will cause -fuse-cxa-exit to be passed by default. Is there any reason why this is not detected automatically by configure? If I build C++ on x86-linux should I add this option?
Thanks in advance, Laurent