This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to change to native allocators in STL!


I was also trying to use hoard (as an allocator), www.hoard.org with STL, gcc3.4 snapshot.

I need to make sure that STL is using the native malloc/free and not
the custom malloc/free of its own. Since in the later case, Hoard cannot help you.
Is it possible to change the allocators at compile time with any switches or at gcc build time?


   Thanks
   .....Abhi


--On Wednesday, July 16, 2003 8:46 PM -0500 Benjamin Kosnik <bkoz@redhat.com> wrote:



Do you mean gcc3.4 (Guess that's the dev/snapshot release)?

You are looking for include/ext/mt_allocator.h from the gcc snapshots or gcc mainline. See:

http://gcc.gnu.org/snapshots.html

-benjamin





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]