Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks
I am thinking of recompiling perl to set usemymalloc to y,
but i dont have an idea of how to recompile this
so if any of you have an idea please do tell me
thanks

Replies are listed 'Best First'.
Re: usemymalloc
by Abigail-II (Bishop) on Apr 23, 2003 at 10:17 UTC
    It looks like you have no experience compiling Perl. Yet, you want to a switch of which you need to have a pretty good idea what you are doing. People usually have compiled Perl many times before fiddling with those switches.

    Anyway, start with reading the README and INSTALL files in the source distribution, and README.your_os, if present. Run Configure and answer the questions. Or run ./Configure -des -Dusemymalloc if you are satisfied with all other defaults. Note also that Perl is using usemymalloc by default.

    Abigail

      Note also that Perl is using usemymalloc by default.

      Are you sure? Quick grep in hints directory shows that usemymalloc is off by default on majority of platforms:

      --
      Ilya Martynov, ilya@iponweb.net
      CTO IPonWEB (UK) Ltd
      Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
      Personal website - http://martynov.org