This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: at exit alternative for AIX
On Sun, Aug 19, 2012 at 11:28 AM, Ian Lance Taylor <iant@google.com> wrote:
>
> Look closely at the output from gcc/configure. Does it include the
> line "__cxa_atexit can't be enabled on this target"? That will be
> displayed if the configure script determines that your target does not
> provide a __cxa_atexit function, and will override
> --enable-__cxa_atexit.
Oh, sorry, I see that you figured that out. To fix it, look for the
relevant string in gcc/configure.ac and add a special case as
appropriate.
Ian