Linux ELF g++ weak symbol for destructor

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu Jun 8 15:22:00 GMT 2000


>    Is there another way to declare a destructor as a weak symbol?

How about

 __asm__(".weak _._13thedestructor");

Regards,
Martin



More information about the Gcc mailing list