about libstdc++ ,change the defaule allocator

Jiandong Lu lujiandong1001 at yahoo.com.cn
Thu Jan 14 06:44:09 UTC 2010


hello,everyone.
     I get the current source code from svn,and successfully build world.
     c++'s standard library is from gnu. This library privodes many allocators: 
bitmap_allocator_base
malloc_allocator_base
mt_allocator_base
new_allocator_base
pool_allocator_base
I want to know how to set a default allocator,and how to change it.

I have read the Makefile:
/usr/src/gnu/lib/libstdc++/Makefile

Thanks.



      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/


More information about the freebsd-hackers mailing list