From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: The bootstrap of Emacs on Cygwin is broken [Is also: unicode branch is merged to trunk] Date: Wed, 28 May 2008 19:21:10 +0200 Message-ID: <483D9486.4000309@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211995343 11130 80.91.229.12 (28 May 2008 17:22:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2008 17:22:23 +0000 (UTC) Cc: mituharu@math.s.chiba-u.ac.jp To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 28 19:23:03 2008 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 1K1PMH-0004gP-Bd for ged-emacs-devel@m.gmane.org; Wed, 28 May 2008 19:22:41 +0200 Original-Received: from localhost ([127.0.0.1]:38735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1PLV-0001H9-Rq for ged-emacs-devel@m.gmane.org; Wed, 28 May 2008 13:21:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1PLQ-0001GK-Cn for emacs-devel@gnu.org; Wed, 28 May 2008 13:21:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1PLM-0001F7-0m for emacs-devel@gnu.org; Wed, 28 May 2008 13:21:47 -0400 Original-Received: from [199.232.76.173] (port=45459 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1PLL-0001F4-Si for emacs-devel@gnu.org; Wed, 28 May 2008 13:21:43 -0400 Original-Received: from smtp-out114.alice.it ([85.37.17.114]:3626) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1PLL-0000Am-MT for emacs-devel@gnu.org; Wed, 28 May 2008 13:21:43 -0400 Original-Received: from FBCMMO02.fbc.local ([192.168.68.196]) by smtp-out114.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Wed, 28 May 2008 19:21:39 +0200 Original-Received: from FBCMCL01B05.fbc.local ([192.168.69.86]) by FBCMMO02.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Wed, 28 May 2008 19:21:39 +0200 Original-Received: from [87.6.19.214] ([87.6.19.214]) by FBCMCL01B05.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Wed, 28 May 2008 19:21:39 +0200 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) X-OriginalArrivalTime: 28 May 2008 17:21:39.0471 (UTC) FILETIME=[4A3031F0:01C8C0E7] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:97913 Archived-At: YAMAMOTO Mitsuharu wrote: > What happens if you replace > > (load "term/x-win") > > with > > (unless (or (equal (nth 3 command-line-args) "bootstrap") > (equal (nth 4 command-line-args) "bootstrap")) > (load "term/x-win")) > > (and likewise for "term/w32-win") in lisp/loadup.el? With the above suggestions, the full bootstrap requests at least 24MB. The log file of the bootstrap shows that in the first stage it needs 24 MB: [...] Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs Static heap usage: 25097944 of 25165824 bytes <== 71662 pure bytes used mv -f emacs.exe bootstrap-emacs.exe [...] in the final stage about 19MB, [...] Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs Static heap usage: 19265240 of 25165824 bytes <== 1209462 pure bytes used ./emacs -q -batch -f list-load-path-shadows make[3]: Leaving directory `/work/build/src' [...] These values are not too much different from those I usually use: #ifdef BOOT_STRAP #define STATIC_HEAP_SIZE (25 * 1024 * 1024) #else #define STATIC_HEAP_SIZE (19 * 1024 * 1024) #endif Cheers, Angelo.