Hi,
How do I enable the use of the __mt_alloc-allocator instead of the default one?
this patch applies to gcc-4 but i think it will give you an idea where to look.
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/gcc/gcc4-libstdc%2B%2B-mt-alloc.patch