__cxa_atexit question

Steve Ellcey sje@cup.hp.com
Wed May 10 16:54:00 GMT 2006


> As far as your suggestion..... __cxa_atexit and __cxa_finalize,
> perhaps. I would be in favor of actual definitions of these functions
> if you go this route. Or, were you thinking of linking to other
> definitions elsewhere?

No, I was thinking of putting actual definitions of __cxa_atexit and
__cxa_finalize (and atexit) in libstdc++.

> Currently, for the gcc toolchain on HPUX, there is no __cxa_atexit
> definition? 

There is no __cxa_atexit in the HP-UX libc, there is a __cxa_atexit in
the C++ runtime library that the HP C++ compiler uses.  GNU g++, of
course, does not use that runtime library on HP-UX.

Steve Ellcey
sje@cup.hp.com



More information about the Libstdc++ mailing list