emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building without Emacs malloc, possible?


From: Jan D.
Subject: Re: Building without Emacs malloc, possible?
Date: Thu, 22 Feb 2007 19:48:12 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Eli Zaretskii wrote:
Defining SYSTEM_MALLOC ought to be enough. What errors do you see?
Do the same errors happen when you try building with SYSTEM_MALLOC on
GNU/Linux?

Btw, I think you need to "make distclean" and reconfigure after adding
SYSTEM_MALLOC; maybe you didn't, and that's the reason for the
problems?

I did make distclean, reconfigured, and I still get this:

vm-limit.o: In function `check_memory_limits':
/home/jhd/src/emacs-22.0.93/src/vm-limit.c:185: undefined reference to `___morecore'
vm-limit.o: In function `memory_warnings':
/home/jhd/src/emacs-22.0.93/src/vm-limit.c:259: undefined reference to `___after_morecore_hook'

I see this in src/Makefile.in:

#ifdef CYGWIN
/* Cygwin differs because of its unexec(). */
otherobj= $(termcapobj) $(gmallocobj) $(rallocobj) lastfile.o vm-limit.o $(allocaobj) $(widgetobj) $(LIBOBJS)
#else
otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) $(LIBOBJS)
#endif

so apparently the solution is more complex. Maybe we just should say that Gtk+ and cygwin is not possible?

   Jan D.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]