|
From: Nicholas N. <nj...@ca...> - 2004-12-06 09:59:18
|
On Sun, 5 Dec 2004, Nick Roberts wrote: > In the documentation for Valgrind, it states: > >> Emacs is known not to work with Valgrind because Emacs has its own >> memory-management scheme. Emacs works fine if you build it using the >> standard malloc/free routines. > > Could someone please clarify, more explicitly, what "build it using the > standard malloc/free routines" entails? I'm not sure if that's still true -- I think there was a long-standing bug that caused Valgrind to fail to run Emacs. So it might work. However, the error messages may be better if you build it to use malloc/free, since then Valgrind can see more of what's happening. As for how to do that, I don't know -- I guess read the Emacs docs or Google for it. N |