X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Thu, 16 May 2002 22:09:29 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Laurynas Biveinis Message-Id: <7999-Thu16May2002220929+0300-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <559005058.20020516192217@softhome.net> (message from Laurynas Biveinis on Thu, 16 May 2002 19:22:17 +0100) Subject: Re: emacs under w2k References: <559005058 DOT 20020516192217 AT softhome DOT net> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 16 May 2002 19:22:17 +0100 > From: Laurynas Biveinis > > > It's very easy to build Emacs with the library malloc: just add this > > line to src/config.h: > > > #define SYSTEM_MALLOC 1 > > Could you explain a bit deeper? What should I do about other > malloc-related defines in config.h? You should undefine them. The best way to do that and define SYSTEM_MALLOC at the same time is to modify msdos/sed2.inp. You will see at its beginning these two lines: /^#undef GNU_MALLOC *$/s/undef/define/ /^#undef REL_ALLOC *$/s/undef/define/ These lines cause src/config.h to define GNU_MALLOC and REL_ALLOC; comment out those two lines and instead add this line: #define SYSTEM_MALLOC 1\ after the line which says: #include \ Then rerun "config msdos" and "make install". > Do I need unixy sbrk flag in this case? No, you don't. But you could try with and without it, if Charles thinks its will be useful.