This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: at exit alternative for AIX


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]