On Wed, Jun 28, 2006 at 12:40:00PM -0400, Mark Mitchell wrote: > As a MinGW user, I would prefer not to see __cxa_atexit added to MinGW. > I really want MinGW to provide the ability to link to MSVCRT: nothing > more, nothing less. Cygwin is an excellent solution if I want a more > UNIX-like environment. I think it would be better to adopt G++ to use > whatever method Microsoft uses to handle static destructions. > Ultimately, I would like to see G++ support the Microsoft C++ ABI -- > unless we can convince Microsoft to support the cross-platform C++ ABI. :-)
As I understand it, Microsoft has patented aspects of their C++ class layout. So I don't think that G++ can support their ABI (though IANAL and maybe there is some way around it, or maybe a mostly-compatible approach could be designed).