Need a global GCC maintainer ruling on atexit

Alexandre Oliva aoliva@redhat.com
Fri Dec 29 21:45:00 GMT 2000


On Dec 30, 2000, msokolov@ivan.Harhan.ORG (Michael Sokolov) wrote:

> Alexandre Oliva <aoliva@redhat.com> wrote:
>> Do you have any reason to believe replacing exit() can be done
>> portably?

> No. But this apparently didn't prevent libgcc2 from doing precisely
> this, non- portably, conditionally on systems where there is simply
> no other way.

libgcc is part of the compiler implementation.  If we determine libgcc
can safely replace exit(), and enable this replacement in the target
configuration file, it's ok.  But it's much harder to determine
whether this can be done for any compilation environment of the host
or build system.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Gcc-patches mailing list