delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/05/16/15:11:14

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" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Laurynas Biveinis <lauras AT softhome DOT net>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 1020516075834 DOT 13145D-100000 AT is> <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

> Date: Thu, 16 May 2002 19:22:17 +0100
> From: Laurynas Biveinis <lauras AT softhome DOT net>
> 
> > 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 <sys/config.h>\

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019