> Can you just link it in when compiling Wt?

You do not even need to link against any library that gives
alternative implementation of the malloc/free family (most of the
alternative allocators implement these 2 functions). You can do

#> LD_LIBRARY_PRELOAD=allocatorlib.so mywtprogram

This will make sure that the malloc/free family functions will be
runtime linked to your implementation and not glibc.

you can also link at "compilation" link time, but linking wt lib
against such a library (like gogole tmalloc) is not enough. You need
to link against your program, and make sure your lib has precedence
against libc. etc. etc

rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to