This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: __cxa_atexit for mingw32
- From: Brian Dessent <brian at dessent dot net>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 25 Jun 2006 17:15:52 -0700
- Subject: Re: RFC: __cxa_atexit for mingw32
- References: <000001c698a2$7462e540$3f4861cb@anykey>
- Reply-to: gcc at gcc dot gnu dot org
Danny Smith wrote:
> is a good thing: replace an ISO standard-conformant and perfectly
> adequate atexit function already supplied by OS vendor with a new
> version, perhaps with some licensing strings attached. I expect the
> fake cxa_atexit hack I illustrated earlier would meet less resistance,
> and that is why I considered it the easier option.
This change would be contained in crt?.o & dllcrt?.o, no? So that would
mean it would get statically linked, with no additional runtime
dependency. Assuming it was licensed the same way as the rest of the
existing CRT startup code, I don't see how anyone could complain. It
would give us proper __cxa_atexit support for essentially free.
Brian