For sure. Followed the instructions for Hoard for example, I ony set the LD_PRELOAD variable. And there is also no instructions for zippy2 to recompile TCL without DUSE_THREAD_ALLOC. So my question is if I want to use Hoard/Zippy2/Tcmalloc do I need to built TCL without the zippy memory allocator as you wrote? And the second thing. Maybe, It would be a good idea to put these instruction in README file in Zippy2 code? Agnieszka -----Original Message----- From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Folkman Sent: Wednesday, December 13, 2006 8:07 PM To: AOLSERVER@LISTSERV.AOL.COM Subject: Re: [AOLSERVER] tcmalloc Exactly right. Thanks for jogging my memory! ;-) Here's a snippet from one of our custom build scripts which might help:
@echo "** MODIFYING TCL TO BUILD WITHOUT THE ZIPPY MEMORY ALLOCATOR **" cd $(ROOT_DIR)/tcl/unix && \ cat Makefile | sed -e 's/-DUSE_THREAD_ALLOC=1//' > Makefile.new && \ cat tclConfig.sh | sed -e 's/-DUSE_THREAD_ALLOC=1//' > tclConfig.sh.new && \ cp Makefile.new Makefile && \ cp tclConfig.sh.new tclConfig.sh On 12/13/06, Jeff Rogers <[EMAIL PROTECTED]> wrote: Nathan Folkman wrote: > What you need to do is build a version of Tcl that has support for threads, > but does not use the "Zippy" allocator. I seem to remember there being > issues with core Tcl that did not allow you to do this easily, but you'd > have to double check. Maybe try something like "--enable-threads > --disable-thread-alloc." If I recall from when I was poking at this, there is no configure flag to disable the threaded allocator; instead you need to edit the generated Makefile after you run "configure" and remove -DUSE_THREAD_ALLOC=1 from AC_FLAGS. And of course, 'make clean' before remaking or nothing will change. -J -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank. -- Nathan Folkman [EMAIL PROTECTED] -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.