From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Building without Emacs malloc, possible? Date: Thu, 22 Feb 2007 19:48:12 +0100 Message-ID: <45DDE56C.6070909@swipnet.se> References: <45DCAC15.40305@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1172170136 26363 80.91.229.12 (22 Feb 2007 18:48:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Feb 2007 18:48:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 22 19:48:45 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HKIzg-0002Dy-Ba for ged-emacs-devel@m.gmane.org; Thu, 22 Feb 2007 19:48:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKIzg-0003wy-0i for ged-emacs-devel@m.gmane.org; Thu, 22 Feb 2007 13:48:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKIzV-0003wg-LF for emacs-devel@gnu.org; Thu, 22 Feb 2007 13:48:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKIzS-0003wU-Ar for emacs-devel@gnu.org; Thu, 22 Feb 2007 13:48:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKIzS-0003wR-3R for emacs-devel@gnu.org; Thu, 22 Feb 2007 13:48:26 -0500 Original-Received: from av6-1-sn3.vrr.skanova.net ([81.228.9.179]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HKIzO-0001in-OT; Thu, 22 Feb 2007 13:48:23 -0500 Original-Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 7E7F637E59; Thu, 22 Feb 2007 19:48:21 +0100 (CET) Original-Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 596B037E4B; Thu, 22 Feb 2007 19:48:21 +0100 (CET) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 4331F37E42; Thu, 22 Feb 2007 19:48:21 +0100 (CET) User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66642 Archived-At: 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.