www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/05/16/13:22:48

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Thu, 16 May 2002 19:22:17 +0100
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: The Bat! (v1.60h) UNREG / CD5BF9353B3B7091
X-Priority: 3 (Normal)
Message-ID: <559005058.20020516192217@softhome.net>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com
Subject: Re[2]: emacs under w2k
In-Reply-To: <Pine.SUN.3.91.1020516075834.13145D-100000@is>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020516075834 DOT 13145D-100000 AT is>
MIME-Version: 1.0
X-OriginalArrivalTime: 16 May 2002 17:22:18.0168 (UTC) FILETIME=[3ACFE380:01C1FCFE]
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

> It's very easy to build Emacs with the library malloc: just add this 
> line to src/config.h:

>   #define SYSTEM_MALLOC 1

> (You might also need to add _CRT0_FLAG_FILL_SBRK_MEMORY to 
> _crt0_startup_flags, but I won't recommend doing that unless you see 
> strange problems or aborts.)  To do this with nmalloc, one needs to 
> replace malloc and friends in libc.a with the alternative implementation, 
> or hack src/Makefile to add libnmalloc.a (or whatever it is called) to 
> the link command line.

Could you explain a bit deeper? What should I do about other
malloc-related defines in config.h? Do I need unixy sbrk flag in this
case?

TIA,
Laurynas


- Raw text -


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