This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: __cxa_atexit question
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: drepper at redhat dot com, bkoz at redhat dot com, libstdc++ at gcc dot gnu dot org
- Date: Thu, 18 May 2006 11:37:40 -0700
- Subject: Re: __cxa_atexit question
- References: <200605181834.LAA23788@hpsje.cup.hp.com>
Steve Ellcey wrote:
> Since libc is usually
> specified last you should get the libCsup version in all normal cases,
> but you could probably make a program pick up the libc version if you
> did a link line with -lc before -lCsup.
Do you know what happens if a C shared library calls atexit, and is then
linked into a C++ application? Does the C library call the C++ atexit?
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713