at exit alternative for AIX

Perry Smith pedzsan@gmail.com
Sun Aug 19 15:03:00 GMT 2012


On Aug 18, 2012, at 7:48 PM, Perry Smith wrote:

> Hi Gang,
> 
> I'm having an unforeseen issue.  Hopefully I'm just doing something wrong.
> 
> I'm on gcc 4.5.2.  I started with a fresh build tree. I'm passing in --enable-__cxa_atexit:
> 
>  configure \
>    "--with-gmp=${PUBLIC_BASE}" \
>    "--with-mpfr=${PUBLIC_BASE}" \
>    "--with-mpc=${PUBLIC_BASE}" \
>    "--disable-nls" \
>    "--enable-threads=aix" \
>    "--with-libiconv-prefix=/usr" \
>    "--enable-__cxa_atexit" \   <<<<<
>    "--enable-languages=c,c++"

Well... found where I'm going wrong...

> fgrep cxa_atexit ../../logs/gcc-4.5.2/Make | grep target
> __cxa_atexit can't be enabled on this target
> __cxa_atexit can't be enabled on this target
> __cxa_atexit can't be enabled on this target

I guess I need to convince gcc/configure that I've added cxa_atexit




More information about the Gcc mailing list