[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building Emacs fails on Cygwin
From: |
Angelo Graziosi |
Subject: |
Re: Building Emacs fails on Cygwin |
Date: |
Tue, 11 Nov 2008 18:22:37 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (Windows/20080914) |
Paul Michael Reilly wrote:
The bootstrap failed as shown below
This has been discussed longly [1]. I think this is also related to
recent discussion titled
"size of emacs executable after unicode merge".
The solution is the patch below. Pre-built binaries here [2].
===============================
--- sheap.c.orig 2008-05-14 14:56:07.000000000 +0200
+++ sheap.c 2008-06-28 18:21:30.984375000 +0200
@@ -24,7 +24,7 @@
#include <unistd.h>
-#define STATIC_HEAP_SIZE (12 * 1024 * 1024)
+#define STATIC_HEAP_SIZE (25 * 1024 * 1024)
int debug_sheap = 0;
@@ -40,9 +40,7 @@
if (!bss_sbrk_ptr)
{
bss_sbrk_ptr = bss_sbrk_buffer;
-#ifdef CYGWIN
sbrk (BLOCKSIZE); /* force space for fork to work */
-#endif
}
if (!(int) request_size)
===============================
Cheers,
Angelo.
---
[1] http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00052.html
[2] http://www.webalice.it/angelo.graziosi/cygwin/emacs/Emacs.html
Facesti come quei che va di notte,
che porta il lume dietro e se' non giova,
ma dopo se' fa le persone dotte.
DANTE, Purgatorio, xxii 67-69